import decimal


def money_from_cents(amount):
    """
    Convert monetary amount from cents into a Decimal working
    with the MoneyField.

    >>> money_from_cents(1000)
    Decimal('10')
    """

    # Make sure integer work too
    amount = float(amount)

    return decimal.Decimal(str(amount/100))