mirror of
https://github.com/pacnpal/thrillwiki_django_no_react.git
synced 2025-12-20 15:31:08 -05:00
13 lines
474 B
Python
13 lines
474 B
Python
from django.urls import path
|
|
from . import views
|
|
|
|
app_name = 'location'
|
|
|
|
urlpatterns = [
|
|
path('search/', views.LocationSearchView.as_view(), name='search'),
|
|
path('reverse-geocode/', views.reverse_geocode, name='reverse_geocode'),
|
|
path('create/', views.LocationCreateView.as_view(), name='create'),
|
|
path('<int:pk>/update/', views.LocationUpdateView.as_view(), name='update'),
|
|
path('<int:pk>/delete/', views.LocationDeleteView.as_view(), name='delete'),
|
|
]
|