rakkapy/books/urls.py

8 lines
232 B
Python
Raw Normal View History

from django.urls import path, re_path, include
from . import views
urlpatterns=[
path('',views.index,name='bidex'),
path('<str:bookurl>',views.book,name='bbook'),
path('<str:bookurl>/<int:chapnum>',views.chapter,name='bchap'),
]