friendsmap/map/urls.py

13 lines
561 B
Python
Raw Normal View History

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'),
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 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
]