Ticket #8744: 8744_r8786_temporary_fix.diff
File 8744_r8786_temporary_fix.diff, 523 bytes (added by , 16 years ago) |
---|
-
django/db/models/fields/__init__.py
312 312 if self.null: 313 313 defaults['empty_value'] = None 314 314 kwargs.pop('max_length', None) 315 kwargs.pop('min_value', None) 315 316 if self.has_default(): 316 317 defaults['initial'] = self.get_default() 317 318 defaults.update(kwargs)