Fixed #22390 -- Doc'd possible server restart required in tutorial 6.

This commit is contained in:
Tim Graham 2018-10-31 20:50:10 -04:00 committed by GitHub
parent 98ef3829e9
commit d8f83531c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 3 deletions

View File

@ -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
=========================