Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding DJANGO_SETTINGS_MODULE to env.prod #114

Merged
merged 1 commit into from
Apr 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .env-prod
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
ENV=prod
DJANGO_SETTINGS_MODULE=crank.settings
DB_HOST=10.2.2.10
DB_NAME=crank
DB_USER=crank
DB_PORT=3306
DEBUG=False
PYTHON_UNBUFFERED=1
1 change: 0 additions & 1 deletion crank/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@

# Build paths inside the project like this: BASE_DIR / 'subdir'.
BASE_DIR = Path(__file__).resolve().parent.parent.parent
DEBUG = False
CONTENT_DIR = os.path.join(str(BASE_DIR), "crank/content")
DEFAULT_ALGORITHM_ID = 5

Expand Down
Loading