Opened 16 years ago

Closed 16 years ago

#6384 closed (invalid)

Customizing the admin pages as suggested in the tutorial causes an recursion error

Reported by: Kip Owned by: nobody
Component: Documentation Version: dev
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


if your TEMPLATE_DIRS includes "/home/my_username/mytemplates", as above, then copy django/contrib/admin/templates/admin/base_site.html to /home/my_username/mytemplates/admin/base_site.html. Don’t forget that admin subdirectory.

I created a "change_form.html" file in my "templates/admin/" folder and it creates a recursion error, I suppose because it extends admin/change_form.html. To make it work for me I need to put the file into a subdirectory with the name of the model.

Change History (1)

comment:1 by Matt McClanahan, 16 years ago

Resolution: invalid
Status: newclosed

Please don't use the ticket system to ask support questions. Use the django-users mailing list for that, or our IRC channel. (See the "Get help" section of the community page for more information.)

Note: See TracTickets for help on using tickets.
Back to Top