Unverified Kaydet (Commit) d8f83531 authored tarafından Tim Graham's avatar Tim Graham Kaydeden (comit) GitHub

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

üst 98ef3829
...@@ -74,9 +74,17 @@ Next, add the following at the top of ``polls/templates/polls/index.html``: ...@@ -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
========================= =========================
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment