Skip to content

Commit

Permalink
playground update
Browse files Browse the repository at this point in the history
  • Loading branch information
LeeHanYeong committed Feb 7, 2023
1 parent 82566af commit 1c58798
Show file tree
Hide file tree
Showing 8 changed files with 164 additions and 146 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# syntax = docker/dockerfile:experimental
FROM python:3.10-alpine
FROM python:3.10-slim

# Language, Timezone
ENV LANG C.UTF-8
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.deploy
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# syntax = docker/dockerfile:experimental
FROM python:3.10-alpine
FROM python:3.10-slim

# Language, Timezone
ENV LANG C.UTF-8
Expand Down
6 changes: 6 additions & 0 deletions playground/config/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@
"quill.localhost",
"quill.lhy.kr",
]
CSRF_TRUSTED_ORIGINS = [
"localhost",
"127.0.0.1",
"quill.localhost",
"quill.lhy.kr",
]

# Static
STATIC_DIR = BASE_DIR / "static"
Expand Down
1 change: 0 additions & 1 deletion playground/posts/migrations/0001_initial.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@


class Migration(migrations.Migration):

initial = True

dependencies = []
Expand Down
38 changes: 24 additions & 14 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ packages = [

[tool.poetry.dependencies]
python = "^3.10"
Django = "^3.2.9"
Django = "^4.1.3"
django-extensions = "^3.1.5"
djangorestframework = "^3.13.1"
gunicorn = "^20.1.0"
Expand Down
17 changes: 9 additions & 8 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
asgiref==3.5.2; python_version >= "3.7"
django-extensions==3.1.5; python_version >= "3.6"
django==3.2.13; python_version >= "3.6"
djangorestframework==3.13.1; python_version >= "3.6"
gunicorn==20.1.0; python_version >= "3.5"
model-bakery==1.5.0
pytz==2022.1; python_version >= "3.6"
sqlparse==0.4.2; python_version >= "3.6"
asgiref==3.5.2 ; python_version >= "3.10" and python_version < "4.0"
django-extensions==3.1.5 ; python_version >= "3.10" and python_version < "4.0"
django==4.1.3 ; python_version >= "3.10" and python_version < "4.0"
djangorestframework==3.13.1 ; python_version >= "3.10" and python_version < "4.0"
gunicorn==20.1.0 ; python_version >= "3.10" and python_version < "4.0"
model-bakery==1.5.0 ; python_version >= "3.10" and python_version < "4.0"
pytz==2022.1 ; python_version >= "3.10" and python_version < "4.0"
sqlparse==0.4.2 ; python_version >= "3.10" and python_version < "4.0"
tzdata==2022.6 ; python_version >= "3.10" and python_version < "4.0" and sys_platform == "win32"
Loading

0 comments on commit 1c58798

Please sign in to comment.