검색기능 보완 - 슈퍼유저도 전체 DB검색가능

This commit is contained in:
CPABONG 2025-08-03 13:53:55 +09:00
parent 9003b231aa
commit 0e20aa194c
29 changed files with 4 additions and 1 deletions

View File

@ -23,7 +23,7 @@ BASE_DIR = Path(__file__).resolve().parent.parent
SECRET_KEY = 'django-insecure-kst@+h&50%!m$(d!l*qbb0l7f@z#@#me__yye^$5kg%0m%1=im'
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = False
DEBUG = True
ALLOWED_HOSTS = ['www.sillaamp.com', 'sillaamp.com', '192.168.1.119', 'localhost', '127.0.0.1', '*']

View File

@ -30,6 +30,9 @@ urlpatterns = [
path('accounts/', include('C_accounts.urls')), # 커스텀 계정 URL
path('', include('B_main.urls')),
# 미디어 파일 서빙 (DEBUG=False 상황에서도 작동)
]
urlpatterns += [
re_path(r'^media/(?P<path>.*)$', serve, {'document_root': settings.MEDIA_ROOT}),
]

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB