2018-01-04 23:33:31 +01:00
|
|
|
from django.urls import path
|
2015-03-17 19:03:51 +01:00
|
|
|
|
2018-01-04 23:33:31 +01:00
|
|
|
from . import views
|
2016-08-29 05:38:10 +02:00
|
|
|
|
2020-09-10 15:06:53 +02:00
|
|
|
app_name = 'partitions'
|
2016-08-29 05:38:10 +02:00
|
|
|
urlpatterns = [
|
2020-09-10 15:06:53 +02:00
|
|
|
path('', views.liste, name='liste'),
|
|
|
|
path('download', views.download_musecores, name='download_musecores'),
|
2018-01-04 23:33:31 +01:00
|
|
|
path("<str:nom>/<str:auteur>/upload", views.upload, name="upload"),
|
2020-09-10 15:06:53 +02:00
|
|
|
path("<str:nom>/<str:auteur>", views.listepart, name="listepart"),
|
2018-01-04 23:33:31 +01:00
|
|
|
path("<str:nom>/<str:auteur>/see/<int:partition_id>", views.see, name="see"),
|
|
|
|
path("<str:nom>/<str:auteur>/<int:partition_id>", views.download, name="download"),
|
|
|
|
path("<str:nom>/<str:auteur>/<int:id>/conf", views.conf_delete, name="conf_delete"),
|
2020-09-10 15:06:53 +02:00
|
|
|
path("<str:nom>/<str:auteur>/<int:id>/delete", views.delete, name="delete"),
|
|
|
|
path("<str:nom>/<str:auteur>/delete", views.delete_morc, name="delete_morc"),
|
|
|
|
path("<str:nom>/<str:auteur>/conf", views.conf_delete_morc, name="conf_delete_morc"),
|
2018-01-05 00:37:44 +01:00
|
|
|
path("new", views.ajouter_morceau, name="ajouter_morceau"),
|
2016-08-29 05:38:10 +02:00
|
|
|
]
|