Opened 12 years ago
Closed 12 years ago
#19894 closed Bug (worksforme)
default STATIC_URL is '/static/' in stead of None?
Reported by: | Owned by: | nobody | |
---|---|---|---|
Component: | Documentation | Version: | dev |
Severity: | Normal | 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
https://docs.djangoproject.com/en/dev/ref/settings/#static-url
mentions the default STATIC_URL to be None. But when we create a new project using startproject, it is actually '/static/'.
Change History (3)
comment:1 by , 12 years ago
Component: | Uncategorized → Documentation |
---|---|
Type: | Uncategorized → Bug |
Version: | 1.4 → master |
comment:2 by , 12 years ago
comment:3 by , 12 years ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Django has:
Confusing, but handy.
If you remove STATIC_URL from your settings files Django will use
None
.