Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#15681 closed (fixed)

Static files documentation error

Reported by: chrisdrackett Owned by: nobody
Component: Uncategorized Version: 1.3
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

in the static files docs there is the following line:

For local development, if you are using runserver or adding staticfiles_urlpatterns to your URLconf, you’re done! Your static files will automatically be served at the default STATIC_URL of /static/.

(from http://docs.djangoproject.com/en/dev/howto/static-files/#using-django-contrib-staticfiles)

however STATIC_URL has no default and is required to be defined. (http://docs.djangoproject.com/en/dev/ref/settings/#std:setting-STATIC_URL)

Change History (3)

comment:1 by Jannis Leidel, 14 years ago

Resolution: fixed
Status: newclosed

In [15913]:

Fixed #15681 -- Fixed a documentation error regarding the default value of the STATIC_URL setting. Thanks, Chris Drackett.

comment:2 by Jannis Leidel, 14 years ago

In [15914]:

Corrected another part of the staticfiles docs which was missed in r15913. Refs #15681.

comment:3 by Jannis Leidel, 14 years ago

In [15966]:

[1.3.X] Fixed #15681 -- Fixed a documentation error regarding the default value of the STATIC_URL setting. Thanks, Chris Drackett.

Backport from trunk (r15913 and r15914).

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