Skip to content
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
15 changes: 15 additions & 0 deletions pyconkr/settings-dev.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import os

DEBUG = True

# RDS
DATABASES = {
"default": {
"ENGINE": "mysql.connector.django",
"NAME": os.getenv("AWS_RDS_DATABASE"),
"USER": os.getenv("AWS_RDS_USER_ID"),
"PASSWORD": os.getenv("AWS_RDS_PW"),
"HOST": os.getenv("AWS_RDS_HOST"),
"PORT": os.getenv("AWS_RDS_PORT"),
}
}
3 changes: 3 additions & 0 deletions pyconkr/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@
"django.contrib.sessions",
"django.contrib.messages",
"django.contrib.staticfiles",

# djangorestframework
"rest_framework",
]

MIDDLEWARE = [
Expand Down
3 changes: 2 additions & 1 deletion pyconkr/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@
2. Add a URL to urlpatterns: path('blog/', include('blog.urls'))
"""
from django.contrib import admin
from django.urls import path
from django.urls import path, include

urlpatterns = [
path('api-auth/', include('rest_framework.urls')),
path("admin/", admin.site.urls),
]
Binary file modified requirements.txt
Binary file not shown.