Hello,
How do I get the Django CSS files working properly under PythonAnywhere
Thanks
Hello,
How do I get the Django CSS files working properly under PythonAnywhere
Thanks
Ah ha: the answer is relatively simple.
copy the css/templates folders (called js, css & img) from inside contrib/admin/media/ (which is in usr/lib/local/.../) (just do a find -name to get the exact directory) to project_name/static
change your settings.py and urls.py to enable static content serving
reload web app
celebrate
Hi there,
As far as we know, you shouldn't have to do anything that complicated. Django admin CSS should "just work"... are you using staticfiles_urlpatterns
?