-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into feature/cleanup-round-getters
- Loading branch information
Showing
23 changed files
with
152 additions
and
460 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,38 @@ | ||
"""Settings for development environment""" | ||
|
||
import os | ||
from aml.base_settings import * | ||
|
||
# Database | ||
# https://docs.djangoproject.com/en/3.0/ref/settings/#databases | ||
|
||
DATABASES = { | ||
'default': { | ||
'ENGINE': 'django.db.backends.postgresql', | ||
'NAME': os.getenv('SQL_DATABASE'), | ||
'USER': os.getenv('SQL_USER'), | ||
'PASSWORD': os.getenv('SQL_PASSWORD'), | ||
'HOST': os.getenv('SQL_HOST'), | ||
'PORT': os.getenv('SQL_PORT'), | ||
"default": { | ||
"ENGINE": "django.db.backends.postgresql", | ||
"NAME": os.getenv("SQL_DATABASE"), | ||
"USER": os.getenv("SQL_USER"), | ||
"PASSWORD": os.getenv("SQL_PASSWORD"), | ||
"HOST": os.getenv("SQL_HOST"), | ||
"PORT": os.getenv("SQL_PORT"), | ||
} | ||
} | ||
|
||
INSTALLED_APPS += ['debug_toolbar'] | ||
# Some installed apps neeed to be prepended to the list and some appended | ||
INSTALLED_APPS = ["django_extensions"] + INSTALLED_APPS + ["debug_toolbar"] | ||
|
||
MIDDLEWARE = ['debug_toolbar.middleware.DebugToolbarMiddleware'] + MIDDLEWARE | ||
MIDDLEWARE = ["debug_toolbar.middleware.DebugToolbarMiddleware"] + MIDDLEWARE | ||
|
||
INTERNAL_IPS = [ | ||
'127.0.0.1', | ||
"127.0.0.1", | ||
] | ||
|
||
CORS_ALLOW_ALL_ORIGINS = True | ||
|
||
TESTING = DEBUG | ||
|
||
BASE_URL = os.getenv('BASE_URL') or 'http://localhost:8000' | ||
BASE_URL = os.getenv("BASE_URL") or "http://localhost:8000" | ||
|
||
GRAPH_MODELS = { | ||
"all_applications": True, | ||
"group_models": True, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
backend/experiment/migrations/0052_remove_experiment_first_experiments_and_more.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Generated by Django 4.2.14 on 2024-08-06 06:59 | ||
|
||
from django.db import migrations | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('experiment', '0051_remove_experiment_about_content_and_more'), | ||
] | ||
|
||
operations = [ | ||
migrations.RemoveField( | ||
model_name='experiment', | ||
name='first_experiments', | ||
), | ||
migrations.RemoveField( | ||
model_name='experiment', | ||
name='last_experiments', | ||
), | ||
migrations.RemoveField( | ||
model_name='experiment', | ||
name='random_experiments', | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.