Ticket #5622: 5622.patch
File 5622.patch, 524 bytes (added by , 17 years ago) |
---|
-
django/db/models/fields/__init__.py
888 888 defaults.update(kwargs) 889 889 return super(IPAddressField, self).formfield(**defaults) 890 890 891 def get_db_prep_save(self, value): 892 return value or None 893 891 894 class NullBooleanField(Field): 892 895 empty_strings_allowed = False 893 896 def __init__(self, *args, **kwargs):