tickets: 8181
This data as json
id | created | changetime | last_pulled_from_trac | stage | status | component | type | severity | version | resolution | summary | description | owner | reporter | keywords | easy | has_patch | needs_better_patch | needs_tests | needs_docs | ui_ux |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8181 | 2008-08-09 06:33:39 | 2011-09-28 16:12:17 | 2022-03-06 03:41:34.553760 | Accepted | closed | Documentation | dev | duplicate | Documentation error leads to 'model already registered exceptions' | The documentation says to add admin model registration to the end of the models.py file. Because this file may be imported more than once, this causes a 'model _____ already registered exception'. The solution is to use autodiscover (as suggested in the documentation) but to place the model registration in the file admin.py. See http://groups.google.com/group/django-users/browse_thread/thread/8af97d45102ee2f2 . | nobody | Marc | 0 | 0 | 0 | 0 |