Files
vrobbler/vrobbler/apps/locations/urls.py
Colin Powell 666224875b
All checks were successful
build & deploy / test (push) Successful in 2m3s
build & deploy / build-and-deploy (push) Successful in 32s
[locations] Allow editing from detail page
2026-05-02 19:23:33 -04:00

24 lines
487 B
Python

from django.urls import path
from locations import views
app_name = "locations"
urlpatterns = [
path(
"locations/",
views.GeoLocationListView.as_view(),
name="geolocation_list",
),
path(
"locations/<slug:slug>/",
views.GeoLocationDetailView.as_view(),
name="geolocation_detail",
),
path(
"locations/<slug:slug>/edit/",
views.GeoLocationUpdateView.as_view(),
name="geolocation_edit",
),
]