Commit 7e4c70cd authored by Patrick's avatar Patrick

Django 1.8.5, Django-cms 3.2 rc 3

parent 183509d4
......@@ -2,8 +2,16 @@
import os
import sys
if __name__ == "__main__":
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "ptidej.settings")
project = os.path.split(os.path.abspath(os.path.dirname(__file__)))[-1]
django_settings = "%s.common_settings" % project
os.environ.setdefault(os_environ, django_settings)
if os.environ.get(os_environ) != django_settings:
os.environ.setdefault(os_environ, django_settings)
from import execute_from_command_line
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment