[Django] #29909: Django tutorial instructs the reader to create a 'static' directory and reload the webpage without restarting the server

4 views
Skip to first unread message

Django

unread,
Oct 31, 2018, 4:15:29 PM10/31/18
to django-...@googlegroups.com
#29909: Django tutorial instructs the reader to create a 'static' directory and
reload the webpage without restarting the server
------------------------------------------+------------------------
Reporter: CoenTempelaars | Owner: nobody
Type: Bug | Status: new
Component: Documentation | Version: 2.1
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
------------------------------------------+------------------------
At the end of the [https://docs.djangoproject.com/en/2.1/intro/tutorial06
/#customize-your-app-s-look-and-feel Customize your app's look and feel
section of Django tutorial 06] the reader is instructed to create a static
directory in the polls app and populate it with a stylesheet:
polls/static/polls/style.css

The tutorial then instructs the reader to reload
https://localhost:8000/polls/ to see the change in effect.

Since my server was still running at the time, I observed a 404 error:
[31/Oct/2018 21:00:38] "GET /static/polls/style.css HTTP/1.1" 404 1669

The tutorial could be improved if it would hint the reader to restart the
server if it is still running.

After restarting the server, I observed:
[31/Oct/2018 21:00:46] "GET /static/polls/style.css HTTP/1.1" 200 99

--
Ticket URL: <https://code.djangoproject.com/ticket/29909>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Oct 31, 2018, 6:51:37 PM10/31/18
to django-...@googlegroups.com
#29909: Django tutorial instructs the reader to create a 'static' directory and
reload the webpage without restarting the server
--------------------------------+--------------------------------------
Reporter: CoenTempelaars | Owner: nobody
Type: Bug | Status: closed
Component: Documentation | Version: 2.1
Severity: Normal | Resolution: duplicate

Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------+--------------------------------------
Changes (by Tim Graham):

* status: new => closed
* resolution: => duplicate


Comment:

Duplicate of #22390.

--
Ticket URL: <https://code.djangoproject.com/ticket/29909#comment:1>

Reply all
Reply to author
Forward
0 new messages