Ultron/ultron/location/urls.py

23 lines
604 B
Python

# coding=UTF-8
from django.urls import path
from . import views
place_urlpatterns = [
path(r"lookup/", views.place_lookup),
path(r"add/", views.place_create_or_update, name="place_create"),
path(r"edit/<int:placeid>/", views.place_create_or_update, name="place_update"),
path(r"<int:placeid>/", views.place_details, name="place_details"),
path(r"", views.place_listing, name="place_list"),
]
country_urlpatterns = [
path(r"lookup/", views.country_lookup),
]
club_urlpatterns = [
path(r"", views.club_listing, name="club_list"),
path(r"lookup/", views.club_lookup),
]