From a54076ead0f5494ba40990bbd7d4821025f8317b Mon Sep 17 00:00:00 2001 From: gkuer Date: Mon, 22 Nov 2021 10:35:18 +0900 Subject: [PATCH] debug-fetch Former-commit-id: 7e39125ba6864a2e06b9e91e8b1278d416b904f5 --- accounts/templates/accounts/login.html | 19 +++++++++++++++++++ accounts/templates/accounts/signup.html | 19 +++++++++++++++++++ db.sqlite3 | Bin 315392 -> 315392 bytes pjt10/settings.py | 10 +++++++++- pjt10/urls.py | 3 ++- 5 files changed, 49 insertions(+), 2 deletions(-) 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 fc3fcd457280611bc069b121eb93e85e7ed45f18..f83b96b0fb8feba988b0474d61e4139dfc21181d 100644 GIT binary patch delta 1117 zcmah{U2Ixq7(U-Qr?dt7eKuWblWBHzUA8WTp7X)s09R531WRc*Xl>)f@>9xxJuslv z4A#YH>@K=YL$V8P&9bFQm#nGjshYUP``sCrY|d;qx=0t?l3fvh4lsX`X}o#!e$VrM z@B6$z<+YyjTF>f1aP7kLHgIk0t@T5F@FAgwS3A&G=qI#{Hjx9Jf_q4_-Oubn&{lD*>~mC45<*?@Skk1~^$3o%mDOO(4`ppO20rk(Ui(W=EZ0<9unrw z!9qL~jO!xq;$(c(?u{;4JtxLZ$xw015p`q3v_7J>`jU9k853P2&gr-Fyf884&g9Hq zb2t#fRvZw$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!KTUS&)M0e-;MnTIsgCw 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