Code

Changes between Version 56 and Version 57 of IrcFAQ


Ignore:
Timestamp:
02/19/08 00:14:04 (6 years ago)
Author:
Alex
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • IrcFAQ

    v56 v57  
    5656== How do I extend a model? I want to subclass django.contrib.auth.models.User. == #ModelSubclassing 
    5757 
    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/#cn226 
     58This 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 
    5959 
    6060== If I change my model, will {{{manage.py syncdb}}} update my database table? == #ModelChanges