Changeset 6902
- Timestamp:
- 12/09/07 02:10:09 (9 months ago)
- Files:
-
- django/trunk/docs/custom_model_fields.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/docs/custom_model_fields.txt
r6792 r6902 383 383 Python object type we want to store in the model's attribute. 384 384 385 **Remember:** If your custom field needs the ``to_python()`` method to be 386 called when it is created, you should be using `The SubfieldBase metaclass`_ 387 mentioned earlier. Otherwise ``to_python()`` won't be called automatically. 388 385 389 ``get_db_prep_save(self, value)`` 386 390 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
