✨ Feat: [#103] mail 서버 계정 기능 완료
This commit is contained in:
@@ -15,5 +15,10 @@ urlpatterns = [
|
||||
path('api/home/', include('homes.urls')),
|
||||
] + static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)
|
||||
|
||||
if getattr(settings, "MAIL_SIGNUP_ENABLED", False):
|
||||
urlpatterns += [
|
||||
path('api/mail/', include('mail.urls')),
|
||||
]
|
||||
|
||||
# if settings.DEBUG:
|
||||
# urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
|
||||
|
||||
Reference in New Issue
Block a user