Open alper-turgal opened 2 years ago
Change settings.py:
import os DATABASES = { 'default': { 'ENGINE': 'django.db.backends.postgresql_psycopg2', 'NAME': 'my_project', 'USER': 'alperturgal', 'PORT': '5432', } }
TIME_ZONE = 'Europe/Istanbul'
STATIC_ROOT = os.path.join(BASE_DIR, 'static')
Create a new database: CREATE DATABASE time_sharing;
Change settings.py:
import os DATABASES = { 'default': { 'ENGINE': 'django.db.backends.postgresql_psycopg2', 'NAME': 'my_project', 'USER': 'alperturgal', 'PORT': '5432', } }
TIME_ZONE = 'Europe/Istanbul'
STATIC_ROOT = os.path.join(BASE_DIR, 'static')