Ticket #5641: proxy.2.diff
File proxy.2.diff, 611 bytes (added by , 17 years ago) |
---|
-
django/db/models/fields/__init__.py
238 238 if self.default is not NOT_PROVIDED: 239 239 if callable(self.default): 240 240 return self.default() 241 return self.default241 return force_unicode(self.default, strings_only=True) 242 242 if not self.empty_strings_allowed or (self.null and settings.DATABASE_ENGINE != 'oracle'): 243 243 return None 244 244 return ""