8 lines
232 B
Python
8 lines
232 B
Python
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>/<str:chapnum>',views.chapter,name='bchap'),
|
|
] |