diff --git a/gergelypolonkaiweb/settings.py b/gergelypolonkaiweb/settings.py index 8ecb8ea..897d007 100644 --- a/gergelypolonkaiweb/settings.py +++ b/gergelypolonkaiweb/settings.py @@ -8,11 +8,11 @@ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.6/ref/settings/ """ -import os - # Build paths inside the project like this: os.path.join(BASE_DIR, ...) +import os BASE_DIR = os.path.dirname(os.path.dirname(__file__)) + # Quick-start development settings - unsuitable for production # See https://docs.djangoproject.com/en/1.6/howto/deployment/checklist/ @@ -51,6 +51,7 @@ ROOT_URLCONF = 'gergelypolonkaiweb.urls' WSGI_APPLICATION = 'gergelypolonkaiweb.wsgi.application' + # Database # https://docs.djangoproject.com/en/1.6/ref/settings/#databases