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
|
|
|
|
|
|
|
|
urlpatterns = [
|
|
|
|
url(r'^add_auteur/$', views.add_auteur, name='add-auteur'),
|
|
|
|
url(r'^edit_auteur/(?P<auteurid>[0-9]+)$', views.edit_auteur, name='edit-auteur'),
|
|
|
|
url(r'^del_auteur/(?P<auteurid>[0-9]+)$', views.del_auteur, name='del-auteur'),
|
|
|
|
url(r'^index_auteurs/$', views.index_auteurs, name='index-auteurs'),
|
|
|
|
url(r'^history/(?P<object>auteur)/(?P<id>[0-9]+)$', views.history, name='history'),
|
2017-07-03 16:33:24 +00:00
|
|
|
url(r'^add_jeu/$', views.add_jeu, name='add-jeu'),
|
|
|
|
url(r'^edit_jeu/(?P<jeuid>[0-9]+)$', views.edit_jeu, name='edit-jeu'),
|
|
|
|
url(r'^del_jeu/(?P<jeuid>[0-9]+)$', views.del_jeu, name='del-jeu'),
|
|
|
|
url(r'^index_jeux/$', views.index_jeux, name='index-jeux'),
|
|
|
|
url(r'^history/(?P<object>jeu)/(?P<id>[0-9]+)$', views.history, name='history'),
|
2017-06-30 01:25:07 +00:00
|
|
|
url(r'^add_media/$', views.add_media, name='add-media'),
|
|
|
|
url(r'^edit_media/(?P<mediaid>[0-9]+)$', views.edit_media, name='edit-media'),
|
|
|
|
url(r'^del_media/(?P<mediaid>[0-9]+)$', views.del_media, name='del-media'),
|
|
|
|
url(r'^index_medias/$', views.index_medias, name='index-medias'),
|
|
|
|
url(r'^history/(?P<object>media)/(?P<id>[0-9]+)$', views.history, name='history'),
|
|
|
|
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'),
|
|
|
|
url(r'^edit_emprunt/(?P<empruntid>[0-9]+)$', views.edit_emprunt, name='edit-emprunt'),
|
|
|
|
url(r'^del_emprunt/(?P<empruntid>[0-9]+)$', views.del_emprunt, name='del-emprunt'),
|
|
|
|
url(r'^index_emprunts/$', views.index, name='index'),
|
|
|
|
url(r'^history/(?P<object>emprunt)/(?P<id>[0-9]+)$', views.history, name='history'),
|
|
|
|
url(r'^$', views.index, name='index'),
|
|
|
|
]
|