16 lines
423 B
Python
16 lines
423 B
Python
# -*- mode: python; coding: utf-8 -*-
|
|
# Copyright (C) 2017-2019 by BDE ENS Paris-Saclay
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
from django.conf.urls import url
|
|
|
|
from . import views
|
|
|
|
app_name = 'media'
|
|
urlpatterns = [
|
|
url(r'^add_emprunt/(?P<userid>[0-9]+)$', views.add_emprunt,
|
|
name='add-emprunt'),
|
|
url(r'^retour_emprunt/(?P<empruntid>[0-9]+)$', views.retour_emprunt,
|
|
name='retour-emprunt'),
|
|
]
|