Skip to content

Commit

Permalink
test build 6
Browse files Browse the repository at this point in the history
  • Loading branch information
OlegGsk committed Sep 29, 2024
1 parent 7015852 commit f5b44b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
10 changes: 1 addition & 9 deletions adaptive_hockey_federation/manage.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,13 @@

import os
import sys
import environ


env = environ.Env()

DEBUG = os.environ.get("DEBUG")

switch_prod_dev = {"True": "dev", "False": "prod"}


def main():
"""Run administrative tasks."""
os.environ.setdefault(
"DJANGO_SETTINGS_MODULE",
f"core.config.{switch_prod_dev[str(DEBUG)]}_settings")
"core.config.dev_settings")
try:
from django.core.management import execute_from_command_line
except ImportError as exc:
Expand Down
1 change: 1 addition & 0 deletions requirements/production.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ click-plugins==1.1.1 ; python_version >= "3.11" and python_version < "4.0"
click-repl==0.3.0 ; python_version >= "3.11" and python_version < "4.0"
click==8.1.7 ; python_version >= "3.11" and python_version < "4.0"
colorama==0.4.6 ; python_version >= "3.11" and python_version < "4.0" and (platform_system == "Windows" or sys_platform == "win32")
django-debug-toolbar==4.4.2 ; python_version >= "3.11" and python_version < "4.0"
django-environ==0.11.2 ; python_version >= "3.11" and python_version < "4"
django-extensions==3.2.3 ; python_version >= "3.11" and python_version < "4.0"
django-phonenumber-field[phonenumbers]==7.3.0 ; python_version >= "3.11" and python_version < "4.0"
Expand Down

0 comments on commit f5b44b7

Please sign in to comment.