Ticket #6759: patch_django_6759.diff
File patch_django_6759.diff, 608 bytes (added by , 17 years ago) |
---|
-
docs/custom_model_fields.txt
401 401 # ... 402 402 403 403 def get_db_prep_save(self, value): 404 return ''.join([''.join(l) for l in ( self.north,405 self.east, self.south, self.west)])404 return ''.join([''.join(l) for l in (value.north, 405 value.east, value.south, value.west)]) 406 406 407 407 ``pre_save(self, model_instance, add)`` 408 408 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~