Opened 4 years ago

Closed 4 years ago

Last modified 4 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:
Needs tests: Patch needs improvement:
Easy pickings: UI/UX:

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 Changed 4 years ago by jezdez

  • Resolution set to fixed
  • Status changed from new to closed

In [15913]:

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

comment:2 Changed 4 years ago by jezdez

In [15914]:

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

comment:3 Changed 4 years ago by jezdez

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