diff --git a/accounts/templates/accounts/login.html b/accounts/templates/accounts/login.html index 8c7387b..a9bd8d8 100644 --- a/accounts/templates/accounts/login.html +++ b/accounts/templates/accounts/login.html @@ -24,6 +24,25 @@ + {% comment %} Favicon {% endcomment %} + + + + + + + + + + + + + + + + + + 인공지능을 활용한 색체 기반 영화 추천 diff --git a/accounts/templates/accounts/signup.html b/accounts/templates/accounts/signup.html index a62a677..fdafde0 100644 --- a/accounts/templates/accounts/signup.html +++ b/accounts/templates/accounts/signup.html @@ -24,6 +24,25 @@ + {% comment %} Favicon {% endcomment %} + + + + + + + + + + + + + + + + + + 인공지능을 활용한 색체 기반 영화 추천 diff --git a/db.sqlite3 b/db.sqlite3 index fc3fcd4..f83b96b 100644 Binary files a/db.sqlite3 and b/db.sqlite3 differ diff --git a/pjt10/settings.py b/pjt10/settings.py index ae99331..abd41df 100644 --- a/pjt10/settings.py +++ b/pjt10/settings.py @@ -46,6 +46,9 @@ 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', + + # Debug + 'debug_toolbar', ] MIDDLEWARE = [ @@ -56,6 +59,7 @@ 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', + 'debug_toolbar.middleware.DebugToolbarMiddleware' ] ROOT_URLCONF = 'pjt10.urls' @@ -137,4 +141,8 @@ DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField' -AUTH_USER_MODEL = 'accounts.User' \ No newline at end of file +AUTH_USER_MODEL = 'accounts.User' + +INTERNAL_IPS = [ + '127.0.0.1', +] \ No newline at end of file diff --git a/pjt10/urls.py b/pjt10/urls.py index e5d92f7..6c7f683 100644 --- a/pjt10/urls.py +++ b/pjt10/urls.py @@ -13,6 +13,7 @@ 1. Import the include() function: from django.urls import include, path 2. Add a URL to urlpatterns: path('blog/', include('blog.urls')) """ +import debug_toolbar from django.contrib import admin from django.urls import path, include from django.conf import settings @@ -22,5 +23,5 @@ path('admin/', admin.site.urls), path('movies/', include('movies.urls')), path('accounts/', include('accounts.urls')), - + path('__debug__/', include(debug_toolbar.urls)), ] + static(settings.STATIC_URL, document_root=settings.STATIC_ROOT) \ No newline at end of file