2 ms·
I'm not too sure models disassemble too gracefully. I can't really take my own app, subclass a model and modify a field, to name just an example.
by vanschelven 17y ago
I'm not too sure models disassemble too gracefully. I can't really take my own app, subclass a model and modify a field, to name just an example.
- thomaspaine 17y agoWhat? http://docs.djangoproject.com/en/1.1/topics/db/models/#id5 http://docs.djangoproject.com/en/1.1/topics/db/models/#id5
- enjo 17y agoFor other cases (Where you don't want to create a new model, just change it's behavior) proxy models are incredibly useful. http://docs.djangoproject.com/en/dev/topics/db/models/#id8 http://docs.djangoproject.com/en/dev/topics/db/models/#id8