Skip to content

Commit

Permalink
settings 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
keiske2 committed Jan 17, 2022
1 parent 493d308 commit 9f2d742
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 1 deletion.
Binary file modified config/__pycache__/settings.cpython-39.pyc
Binary file not shown.
Binary file added config/settings/__pycache__/base.cpython-39.pyc
Binary file not shown.
Binary file added config/settings/__pycache__/local.cpython-39.pyc
Binary file not shown.
Binary file added config/settings/__pycache__/prod.cpython-39.pyc
Binary file not shown.
2 changes: 1 addition & 1 deletion config/settings.py → config/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
from pathlib import Path

# Build paths inside the project like this: BASE_DIR / 'subdir'.
BASE_DIR = Path(__file__).resolve().parent.parent
BASE_DIR = Path(__file__).resolve().parent.parent.parent


# Quick-start development settings - unsuitable for production
Expand Down
3 changes: 3 additions & 0 deletions config/settings/local.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from .base import *

ALLOWED_HOSTS = []
3 changes: 3 additions & 0 deletions config/settings/prod.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from .base import *

ALLOWED_HOSTS = ['13.209.164.5']
Binary file modified db.sqlite3
Binary file not shown.

0 comments on commit 9f2d742

Please sign in to comment.