8 lines
175 B
Python
8 lines
175 B
Python
from django.urls import path
|
|
from . import views
|
|
|
|
|
|
urlpatterns = [
|
|
path("<slug:slug>/", views.PageView.as_view(), name="page"),
|
|
path("", views.index, name="index"),
|
|
]
|