[Django]-Django-grappelli not working

6👍

I found the issue. Actually I had previously overridden the Admin Templates for branding my admin login and top page headers. So, in my template dir, there is admin dir with some custom templates (which I copied from django/contrib/admin/templates and edited as per my requirement). Due to this, Grappelli was not showing any of my changes…

I got the hint from here – https://stackoverflow.com/a/12193858/1284552

When I removed it, it worked as expected.
Also, I just need to visit the admin path, not the grappelli path as defined in Urls.py.

6👍

Resolved this issue after adding 'grappelli' at the top of 'django.contrib.admin'.

Adding to Lucian’s answer, the documentation itself says,

Insert 'grappelli' at the top of 'django.contrib.admin'.

So INSTALLED_APPS will be,

INSTALLED_APPS = (
    'grappelli',
    'django.contrib.admin',
)

Taken from : http://django-grappelli.readthedocs.org/en/latest/quickstart.html

2👍

I had the same thing, I changed the order of the rows and all earned

‘grappelli’,

‘django.contrib.admin’,

make sure that the string ‘django.contrib.admin’ written 1 times

Leave a comment