diff --git a/.gitignore b/.gitignore index f5e96db..82195aa 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -venv \ No newline at end of file +venv +.idea \ No newline at end of file diff --git a/CryptoCurrencyRestAPI/settings.py b/CryptoCurrencyRestAPI/settings.py index ee3dc7d..8881470 100644 --- a/CryptoCurrencyRestAPI/settings.py +++ b/CryptoCurrencyRestAPI/settings.py @@ -25,7 +25,7 @@ # SECURITY WARNING: don't run with debug turned on in production! DEBUG = True -ALLOWED_HOSTS = [] +ALLOWED_HOSTS = ['206.189.12.80'] # Application definition @@ -76,7 +76,7 @@ DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', - 'NAME': os.path.join(BASE_DIR, 'db.sqlite3'), + 'NAME': 'mydatabase', } } @@ -105,7 +105,7 @@ LANGUAGE_CODE = 'en-us' -TIME_ZONE = 'UTC' +TIME_ZONE = 'Europe/Amsterdam' USE_I18N = True @@ -118,3 +118,4 @@ # https://docs.djangoproject.com/en/2.0/howto/static-files/ STATIC_URL = '/static/' +STATIC_ROOT = os.path.join(BASE_DIR, 'static/')