2👍
✅
The issue turned out to be that grappelli on installation, overwrote the jquery and related files of the admin. My admin files are on S3/Cloudfront so I had to run collectstatic again after uninstalling grappelli and also invalidate the cloudfront cache of the admin. Grappelli turned out to be a very painful experience…
0👍
I had the same problem and I solved it by editing nginx config.
Before:
location /static/admin/ { alias /web/merv/env/lib/python3.4/site-packages/django/contrib/admin/static/admin/; }
location /static/ { alias /web/merv/files/static/; }
After:
location /static/ { alias /web/merv/files/static/; }
- [Answered ]-Cassandra "Unable to connect to any servers" via Django, while cqlsh works
- [Answered ]-What is the right way to setup urls.py for django-rest-framework + angular-route + static files?
- [Answered ]-How do I pull a User object based on the attribute of a model it is associated with?
Source:stackexchange.com