Ticket #7609: UnsignedIntegerField.diff
File UnsignedIntegerField.diff, 623 bytes (added by , 16 years ago) |
---|
-
django/db/models/fields/__init__.py
759 759 defaults.update(kwargs) 760 760 return super(PositiveSmallIntegerField, self).formfield(**defaults) 761 761 762 class UnsignedIntegerField(PositiveIntegerField): 763 pass 764 765 class UnsignedSmallIntegerField(PositiveSmallIntegerField): 766 pass 767 762 768 class SlugField(CharField): 763 769 def __init__(self, *args, **kwargs): 764 770 kwargs['max_length'] = kwargs.get('max_length', 50)