From dd4b4f936b22cc056f66216efdfaead9eed87669 Mon Sep 17 00:00:00 2001 From: Commander1024 Date: Sat, 2 Oct 2021 03:43:13 +0200 Subject: [PATCH] #50 New urls for external links. --- django_lostplaces/lostplaces/urls.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/django_lostplaces/lostplaces/urls.py b/django_lostplaces/lostplaces/urls.py index 35f6ce4..9673644 100644 --- a/django_lostplaces/lostplaces/urls.py +++ b/django_lostplaces/lostplaces/urls.py @@ -21,6 +21,8 @@ from lostplaces.views import ( PlaceImageDeleteView, PhotoAlbumCreateView, PhotoAlbumDeleteView, + ExternalLinkCreateView, + ExternalLinkDeleteView, ExplorerProfileView, ExplorerProfileUpdateView ) @@ -49,5 +51,7 @@ urlpatterns = [ path('place_image/delete//', PlaceImageDeleteView.as_view(), name='place_image_delete'), path('photo_album/create//', PhotoAlbumCreateView.as_view(), name='photo_album_create'), - path('photo_album/delete//', PhotoAlbumDeleteView.as_view(), name='photo_album_delete') + path('photo_album/delete//', PhotoAlbumDeleteView.as_view(), name='photo_album_delete'), + path('external_link/create//', ExternalLinkCreateView.as_view(), name='external_link_create'), + path('external_link/delete//', ExternalLinkDeleteView.as_view(), name='external_link_delete') ]