python - Problem with Django styling -


New to the new ones but I'm having problems with the stylesheets (CSS) of the pages.

My settings in .py

  MEDIA_ROOT = '' MEDIA_URL = '' TEMPLATE_DIRS = (os.path.join (OS path.dirname (__ file__), ' Please 

please

please

please

please

please

can do. The template setting is only for assistance when you are selecting a template file for rendering in your visual handler.

If you want to serve files like CSS, see, the easiest way is the best way, however, for CSS (and other stable file) requests, configure your server Django handles files instead of handler requests.


Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -