Fakultas Ilmu Komputer UI

Commit bdcbfd27 authored by Syahrul Ardiansyah's avatar Syahrul Ardiansyah
Browse files

Change Heroku import in setting

parent 25ec4c7d
......@@ -11,7 +11,11 @@ https://docs.djangoproject.com/en/1.11/ref/settings/
"""
import os
import django_heroku
if 'I_AM_HEROKU' in os.environ:
# Configure Django App for Heroku.
import django_heroku
django_heroku.settings(locals())
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
......
Supports Markdown
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