Remove wrong usage of BASE_DIR on settings.

remotes/origin/enhancement/email-actions
Andrey Antukh 2014-05-28 12:51:19 +02:00
parent 13ec5c3d0b
commit 051f9d6966
1 changed files with 2 additions and 6 deletions

View File

@ -19,10 +19,6 @@ from django.utils.translation import ugettext_lazy as _
BASE_DIR = os.path.dirname(os.path.dirname(__file__)) BASE_DIR = os.path.dirname(os.path.dirname(__file__))
OUT_BASE_DIR = os.path.abspath(
os.path.join(BASE_DIR, "..")
)
APPEND_SLASH = False APPEND_SLASH = False
ALLOWED_HOSTS = ["*"] ALLOWED_HOSTS = ["*"]
@ -99,9 +95,9 @@ EVENTS_PUSH_BACKEND = "taiga.events.backends.postgresql.EventsPushBackend"
MESSAGE_STORAGE = "django.contrib.messages.storage.session.SessionStorage" MESSAGE_STORAGE = "django.contrib.messages.storage.session.SessionStorage"
# Static configuration. # Static configuration.
MEDIA_ROOT = os.path.join(OUT_BASE_DIR, "media") MEDIA_ROOT = os.path.join(BASE_DIR, "media")
MEDIA_URL = "/media/" MEDIA_URL = "/media/"
STATIC_ROOT = os.path.join(OUT_BASE_DIR, "static") STATIC_ROOT = os.path.join(BASE_DIR, "static")
STATIC_URL = "/static/" STATIC_URL = "/static/"
ADMIN_MEDIA_PREFIX = "/static/admin/" ADMIN_MEDIA_PREFIX = "/static/admin/"