Fixed #22390 -- Doc'd possible server restart required in tutorial 6.
This commit is contained in:
parent
98ef3829e9
commit
d8f83531c2
|
@ -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.
|
The ``{% static %}`` template tag generates the absolute URL of static files.
|
||||||
|
|
||||||
That's all you need to do for development. Reload
|
That's all you need to do for development.
|
||||||
``http://localhost:8000/polls/`` and you should see that the question links are
|
|
||||||
green (Django style!) which means that your stylesheet was properly loaded.
|
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
|
Adding a background-image
|
||||||
=========================
|
=========================
|
||||||
|
|
Loading…
Reference in New Issue