6. Styling Django Web Pages
Let’s say you have this perfectly ordinary style sheet style.css:
This style sheet styles
<body> text in Web pages red,
<h1> headers blue, and
<p> elements green (perhaps not the most pleasing color scheme). How do you apply this style sheet to a Django Web page with
<h1> headers, and
Many Web servers will serve your style sheet in addition to your Django application, but some (like the development server we’ve been using) will not, because they leave the delivery of Django content up to Django. To make sure that your style sheets are served to your Django application no matter what Django-enabled ...