9 lines
278 B
Python
9 lines
278 B
Python
from django.urls import path
|
|
from django.urls import re_path
|
|
from . import views
|
|
|
|
urlpatterns = [
|
|
path('', views.HomeView.as_view(), name='index'),
|
|
path('api/conventions/<str:identifier>/<str:mode>.json', views.ConventionsJsonView.as_view(), name='conventions_json'),
|
|
]
|