|
@@ -74,9 +74,17 @@ Next, add the following at the top of ``polls/templates/polls/index.html``:
|
|
|
|
|
|
The ``{% static %}`` template tag generates the absolute URL of static files.
|
|
|
|
|
|
-That's all you need to do for development. Reload
|
|
|
-``http://localhost:8000/polls/`` and you should see that the question links are
|
|
|
-green (Django style!) which means that your stylesheet was properly loaded.
|
|
|
+That's all you need to do for development.
|
|
|
+
|
|
|
+Start the server (or restart it if it's already running):
|
|
|
+
|
|
|
+.. console::
|
|
|
+
|
|
|
+ $ python manage.py runserver
|
|
|
+
|
|
|
+Reload ``http://localhost:8000/polls/`` and you should see that the question
|
|
|
+links are green (Django style!) which means that your stylesheet was properly
|
|
|
+loaded.
|
|
|
|
|
|
Adding a background-image
|
|
|
=========================
|