mirror of
https://github.com/gamaio/gama_api.git
synced 2025-08-13 02:08:45 +00:00
Add the core
This sets up the database to reflect what is written in the schema Next is to add logic
This commit is contained in:
@@ -37,6 +37,7 @@ INSTALLED_APPS = [
|
||||
'django.contrib.sessions',
|
||||
'django.contrib.messages',
|
||||
'django.contrib.staticfiles',
|
||||
'core'
|
||||
]
|
||||
|
||||
MIDDLEWARE = [
|
||||
@@ -75,8 +76,12 @@ WSGI_APPLICATION = 'api.wsgi.application'
|
||||
|
||||
DATABASES = {
|
||||
'default': {
|
||||
'ENGINE': 'django.db.backends.sqlite3',
|
||||
'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
|
||||
'ENGINE': 'django.db.backends.postgresql',
|
||||
'NAME': 'gama_api',
|
||||
'USER': 'gama_api',
|
||||
'PASSWORD': 'gama_api',
|
||||
'HOST': '127.0.0.1',
|
||||
'PORT': '5432',
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user