Moved the logout URL from the site URL patterns to the URL patterns of Mia core application, reduced the dependency from the site settings to the Mia core application.
This commit is contained in:
parent
48aa772158
commit
5fc337b39d
@ -29,6 +29,7 @@ register_converter(converters.UserConverter, "user")
|
|||||||
|
|
||||||
app_name = "mia_core"
|
app_name = "mia_core"
|
||||||
urlpatterns = [
|
urlpatterns = [
|
||||||
|
path("logout", views.logout, name="logout"),
|
||||||
path("users", views.UserListView.as_view(), name="users"),
|
path("users", views.UserListView.as_view(), name="users"),
|
||||||
path("users/create", views.user_form, name="users.create"),
|
path("users/create", views.user_form, name="users.create"),
|
||||||
path("users/store", views.user_store, name="users.store"),
|
path("users/store", views.user_store, name="users.store"),
|
||||||
|
Loading…
Reference in New Issue
Block a user