Ticket #9412: 9412_r9240.diff
File 9412_r9240.diff, 648 bytes (added by , 16 years ago) |
---|
-
docs/howto/custom-model-fields.txt
437 437 438 438 You only need to override this method if you want to preprocess the value 439 439 somehow, just before saving. For example, Django's 440 `:class:`~django.db.models.DateTimeField` uses this method to set the attribute440 :class:`~django.db.models.DateTimeField` uses this method to set the attribute 441 441 correctly in the case of :attr:`~django.db.models.Field.auto_now` or 442 442 :attr:`~django.db.models.Field.auto_now_add`. 443 443