Adds STATIC_URL='' to settings_local template to fix JS loading problems
This commit is contained in:
Родитель
5ff674226b
Коммит
537429c53b
|
@ -50,3 +50,6 @@ SESSION_COOKIE_DOMAIN = None
|
|||
|
||||
# Run tasks immediately, don't try using the queue.
|
||||
CELERY_ALWAYS_EAGER = True
|
||||
|
||||
# paths for images, not necessary for dev
|
||||
STATIC_URL = ''
|
||||
|
|
|
@ -49,8 +49,8 @@ echo "Updating vendor..."
|
|||
pushd $VENDOR && git pull && git submodule --quiet sync && git submodule update --init;
|
||||
popd
|
||||
|
||||
cat > settings_local.py <<SETTINGS
|
||||
from settings import *
|
||||
cp -f docs/settings/settings_local.dev.py settings_local.py
|
||||
cat >> settings_local.py <<SETTINGS
|
||||
ROOT_URLCONF = '%s.urls' % ROOT_PACKAGE
|
||||
LOG_LEVEL = logging.ERROR
|
||||
# Database name has to be set because of sphinx
|
||||
|
|
Загрузка…
Ссылка в новой задаче