Ticket #5641: proxy.diff
File proxy.diff, 571 bytes (added by , 17 years ago) |
---|
-
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) 242 242 if not self.empty_strings_allowed or (self.null and settings.DATABASE_ENGINE != 'oracle'): 243 243 return None 244 244 return ""