#21527: Application order effects template loading/overriding
---------------------------------+--------------------
     Reporter:  Benjamin.Encz@…  |      Owner:  nobody
         Type:  Uncategorized    |     Status:  new
    Component:  Documentation    |    Version:  1.6
     Severity:  Normal           |   Keywords:
 Triage Stage:  Unreviewed       |  Has patch:  0
Easy pickings:  0                |      UI/UX:  0
---------------------------------+--------------------
 I am not sure if it was mentioned in the documentation, but it is
 necessary to list the custom app before the django apps in settings.py to
 make the overriding of the admin template work:

 INSTALLED_APPS = (
     'polls',
     'django.contrib.admin',
     'django.contrib.auth',
     'django.contrib.contenttypes',
     'django.contrib.sessions',
     'django.contrib.messages',
     'django.contrib.staticfiles',
 )

 Someone else had this problem before, which saved me a lot of time here:
 http://stackoverflow.com/questions/11793890/custom-django-admin-templates-
 not-working

 Maybe it would be worth pointing that out in the documentation?

-- 
Ticket URL: <https://code.djangoproject.com/ticket/21527>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/066.04c987d33f2be28f8a1a1fce54a01062%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to