friendsmap/map/urls.py

15 lines
721 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'),
path('share-location', views.LocationSharingView.as_view(), name='share-location'),
2019-03-04 18:44:56 +01:00
path('accounts/signup', views.SignupView.as_view(), name='signup'),
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
]