Revision 0f0dd7df

b/snf-common/synnefo/lib/db/intdecimalfield.py
42 42

  
43 43
DECIMAL_DIGITS  =   38
44 44

  
45
def intDecimalField(**kwargs):
45
def intDecimalField(verbose_name=None, name=None, **kwargs):
46 46
    # decimal_places is set here instead of the object constructor
47 47
    # in order to convince south
48
    return IntDecimalField(max_digits=DECIMAL_DIGITS, decimal_places=0, **kwargs)
48
    return IntDecimalField(verbose_name, name, max_digits=DECIMAL_DIGITS, decimal_places=0, **kwargs)

Also available in: Unified diff