-
Jean-Sébastien Caux authoredd641e527
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
urls.py 526 B
__copyright__ = "Copyright © Stichting SciPost (SciPost Foundation)"
__license__ = "AGPL v3"
from django.conf.urls import url
from . import views
from submissions.constants import SUBMISSIONS_WO_VN_REGEX, SUBMISSIONS_COMPLETE_REGEX
app_name = 'preprints'
urlpatterns = [
url(r'^{regex}/$'.format(regex=SUBMISSIONS_WO_VN_REGEX),
views.preprint_pdf_wo_vn_nr,
name='preprint_wo_vn_nr'),
url(r'^{regex}/$'.format(regex=SUBMISSIONS_COMPLETE_REGEX),
views.preprint_pdf,
name='pdf'),
]