Opened 2 years ago

Closed 2 years ago

#22390 closed Cleanup/optimization (worksforme)

Document restart required after adding statics directory: tutorial part 06

Reported by: anonymous Owned by: nobody
Component: Documentation Version: 1.6
Severity: Normal Keywords: docs tutorial static
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description

The intro tutorial on the Polls app:

https://docs.djangoproject.com/en/1.6/intro/tutorial06/#customize-your-app-s-look-and-feel

describes setting up a static folder. It is completely correct, but doesn't mention that a restart of the server is required to pick up the newly created statics folder.

Where it says:

That’s all you need to do for development. Reload http://localhost:8000/polls/ and you should see that the poll links are green (Django style!) which means that your stylesheet was properly loaded.

It would be clearer to say:

That’s all you need to do for development. Restart the server with python manage.py runserver, then reload http://localhost:8000/polls/ and you should see that the poll links are green (Django style!) which means that your stylesheet was properly loaded.

Change History (1)

comment:1 Changed 2 years ago by Tim Graham

Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset
Resolution: worksforme
Status: newclosed

It works for me without a server restart.

Note: See TracTickets for help on using tickets.
Back to Top