Skip to content

Commit c1f6f77

Browse files
committed
Sorted static settings
1 parent 50fd71a commit c1f6f77

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

core/settings/base.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,3 +142,10 @@
142142
access_type='offline',
143143
)
144144
)
145+
146+
# Static
147+
STATIC_ROOT = "/static/"
148+
STATIC_URL = '/static/'
149+
STATICFILES_DIRS = [
150+
os.path.join(BASE_DIR, '../static'),
151+
]

core/settings/local.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
from .base import *
22

3-
STATIC_URL = '/static-dev/'
4-
53
# speed up dev appserver code change detection by ignoring a bunch of dirs
64
DJANGAE_RUNSERVER_IGNORED_DIR_REGEXES += ['^sitepackages$', '^tests$']

0 commit comments

Comments
 (0)