med/media/urls.py

16 lines
423 B
Python
Raw Normal View History

2019-08-02 12:57:53 +00:00
# -*- mode: python; coding: utf-8 -*-
# Copyright (C) 2017-2019 by BDE ENS Paris-Saclay
# SPDX-License-Identifier: GPL-3.0-or-later
2017-06-30 01:25:07 +00:00
from django.conf.urls import url
from . import views
2019-08-10 08:44:17 +00:00
app_name = 'media'
2017-06-30 01:25:07 +00:00
urlpatterns = [
2019-08-08 14:33:05 +00:00
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'),
2017-06-30 01:25:07 +00:00
]