#50 New urls for external links.

This commit is contained in:
Marcus Scholz 2021-10-02 03:43:13 +02:00
parent cf9a5474b8
commit dd4b4f936b

View File

@ -21,6 +21,8 @@ from lostplaces.views import (
PlaceImageDeleteView, PlaceImageDeleteView,
PhotoAlbumCreateView, PhotoAlbumCreateView,
PhotoAlbumDeleteView, PhotoAlbumDeleteView,
ExternalLinkCreateView,
ExternalLinkDeleteView,
ExplorerProfileView, ExplorerProfileView,
ExplorerProfileUpdateView ExplorerProfileUpdateView
) )
@ -49,5 +51,7 @@ urlpatterns = [
path('place_image/delete/<int:pk>/', PlaceImageDeleteView.as_view(), name='place_image_delete'), path('place_image/delete/<int:pk>/', PlaceImageDeleteView.as_view(), name='place_image_delete'),
path('photo_album/create/<int:place_id>/', PhotoAlbumCreateView.as_view(), name='photo_album_create'), path('photo_album/create/<int:place_id>/', PhotoAlbumCreateView.as_view(), name='photo_album_create'),
path('photo_album/delete/<int:pk>/', PhotoAlbumDeleteView.as_view(), name='photo_album_delete') path('photo_album/delete/<int:pk>/', PhotoAlbumDeleteView.as_view(), name='photo_album_delete'),
path('external_link/create/<int:place_id>/', ExternalLinkCreateView.as_view(), name='external_link_create'),
path('external_link/delete/<int:pk>/', ExternalLinkDeleteView.as_view(), name='external_link_delete')
] ]