New design and renaming for the blog which now named chat
This commit is contained in:
@@ -25,7 +25,8 @@ urlpatterns = [
|
||||
re_path(r'^accounts/login/', auth_views.LoginView.as_view()),
|
||||
re_path(r'^accounts/logout/', auth_views.LogoutView.as_view())
|
||||
]
|
||||
|
||||
# Redirect on logout
|
||||
LOGOUT_REDIRECT_URL = "home"
|
||||
if settings.DEBUG is True:
|
||||
urlpatterns += static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)
|
||||
urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
|
||||
|
||||
Reference in New Issue
Block a user