[Answered ]-Django admin jquery load error: "$ is not a function"

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/; }
👤MikeS

Leave a comment