Changes between Version 56 and Version 57 of IrcFAQ
- Timestamp:
- Feb 19, 2008, 2:14:04 AM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
IrcFAQ
v56 v57 56 56 == How do I extend a model? I want to subclass django.contrib.auth.models.User. == #ModelSubclassing 57 57 58 You can't do this at the moment, but model subclassing is being worked on. Also, see here http://www.b-list.org/weblog/2007/02/20/about-model-subclassing and here for instructions on extending the User model:http://www.djangobook.com/en/beta/chapter12/#cn22658 This feature has been added to the queryset-refactoring branch, but it is not available in either the trunk or a numbered release yet. Specific instructions for the User model can be found at http://www.b-list.org/weblog/2007/02/20/about-model-subclassing and http://www.djangobook.com/en/beta/chapter12/#cn226 59 59 60 60 == If I change my model, will {{{manage.py syncdb}}} update my database table? == #ModelChanges