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

from django.urls import path 

from django.urls import re_path 

 

from . import views 

 

app_name = 'fanfics' 

urlpatterns = [ 

# Add external fanfic 

path('external/', views.AddExternalFanfic.as_view(), 

name='external_add'), 

path('external/done/', views.AddExternalFanficDone.as_view(), 

name='external_done'), 

 

# get possible characters for a fanfic 

re_path(r'^(?P<fanfic_id>[0-9]+)/characters/?$', 

views.FanficCharactersView.as_view(), name='fanfic_characters'), 

 

# Submit fanfic error 

re_path(r'^(?P<fanfic_id>[0-9]+)/errors?$', 

views.FanficErrorsView.as_view(), name='fanfic_errors'), 

 

# Existing Fanfic 

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

views.FanficView.as_view(), name='fanfic'), 

 

]