Hide keyboard shortcuts

Hot-keys on this page

r m x p   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

from django.urls import re_path 

 

from chapters import views 

 

app_name = 'chapters' 

urlpatterns = [ 

# delete all the private notes for one user 

re_path(r'chapters/notes/?$', 

views.ChaptersNotesView.as_view(), name='chapters_notes'), 

 

# create/update private note for one user and chapter 

re_path(r'chapters/(?P<chapter_id>['r'0-9]+)/notes/?$', 

views.ChaptersNotesView.as_view(), name='chapters_note'), 

 

# mark as read last chapter of a fanfic 

re_path(r'chapters/read/?$', 

views.ChaptersMarkAsReadLastView.as_view(), name='chapter_read'), 

 

# toggle mark as read 

re_path(r'chapters/(?P<chapter_id>['r'0-9]+)/?$', 

views.ChaptersMarkAsReadView.as_view(), name='chapter_mark'), 

 

# delete all for one user, mark all as read 

re_path(r'chapters/?$', 

views.ChaptersView.as_view(), name='chapters'), 

 

]