Feat: [#103] mail 서버 계정 기능 완료

This commit is contained in:
sm4640
2026-01-12 23:13:22 +09:00
parent d9ac5578c9
commit ee7e98235a
10 changed files with 257 additions and 0 deletions

View File

@@ -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)