Ticket #6133: custom_models_fields.diff
| File custom_models_fields.diff, 0.5 kB (added by DavidReynolds, 1 year ago) |
|---|
-
custom_model_fields.txt
old new 43 43 # ... (other possibly useful methods omitted) ... 44 44 45 45 This is just an ordinary Python class, nothing Django-specific about it. We 46 would like to be able to things like this in our models (we assume the46 would like to be able to do things like this in our models (we assume the 47 47 ``hand`` attribute on the model is an instance of ``Hand``):: 48 48 49 49
