Everything was perfectly working fine, but after a symlink for the MySQL python the admin CSS and JS disappeared.
- I tried to Symlink the admin static folder in the Django folder.
- I copied and pasted the CSS, images, JS to the static folder but it didn’t work also.
This is really strange, Django documentation mentions that “Django development server automatically serves the static files of the admin app” but this isn’t the case anymore. It was perfectly working fine.
Anyone faced such an issue before ?
Thanks.
Django serves the static files, but not without a little editing on settings.py. Are you sure you haven’t changed these parameters listed below?
And in your template, you should use something like this:
Django is probably looking for these files in the wrong directory. If it can’t show your files, is pretty much because it can’t find them where you told they would be.