Ticket #9412: 9412_r9240.diff

File 9412_r9240.diff, 648 bytes (added by Carl Meyer, 16 years ago)

patch

  • docs/howto/custom-model-fields.txt

     
    437437
    438438You only need to override this method if you want to preprocess the value
    439439somehow, just before saving. For example, Django's
    440 `:class:`~django.db.models.DateTimeField` uses this method to set the attribute
     440:class:`~django.db.models.DateTimeField` uses this method to set the attribute
    441441correctly in the case of :attr:`~django.db.models.Field.auto_now` or
    442442:attr:`~django.db.models.Field.auto_now_add`.
    443443
Back to Top