Changeset 6923 for django/trunk/docs/custom_model_fields.txt
- Timestamp:
- 12/17/07 00:59:01 (1 year 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
r6902 r6923 45 45 46 46 This is just an ordinary Python class, with nothing Django-specific about it. 47 We'd like to be able to things like this in our models (we assume the ``hand``48 attribute on the model is an instance of ``Hand``)::47 We'd like to be able to do things like this in our models (we assume the 48 ``hand`` attribute on the model is an instance of ``Hand``):: 49 49 50 50 example = MyModel.objects.get(pk=1)
