2019-03-02 12:47:44 +01:00
|
|
|
from django.urls import path
|
2019-03-02 16:17:48 +01:00
|
|
|
|
2019-03-02 12:47:44 +01:00
|
|
|
from map import views
|
|
|
|
|
|
|
|
urlpatterns = [
|
2019-03-02 15:36:52 +01:00
|
|
|
path('', views.MapView.as_view(), name='map'),
|
2019-03-02 17:48:50 +01:00
|
|
|
path('change-location', views.EditLocationView.as_view(), name='change-location'),
|
|
|
|
path('add-location', views.AddLocationView.as_view(), name='add-location'),
|
|
|
|
path('delete-location', views.DeleteLocationView.as_view(), name='delete-location'),
|
2019-03-03 18:45:47 +01:00
|
|
|
path('manage-groups', views.ManageGroupsView.as_view(), name='manage-groups'),
|
|
|
|
path('add-group', views.CreateGroupView.as_view(), name='add-group'),
|
|
|
|
path('leave-group/<int:pk>', views.LeaveGroupView.as_view(), name='leave-group'),
|
2019-03-03 13:42:06 +01:00
|
|
|
path('accounts/profile', views.UpdateProfileView.as_view(), name='change-profile'),
|
|
|
|
path('accounts/profile/delete', views.DeleteProfileView.as_view(), name='delete-profile'),
|
2019-03-02 12:47:44 +01:00
|
|
|
]
|