mirror of
https://github.com/ae-utbm/sith.git
synced 2024-12-23 08:11:19 +00:00
20 lines
1.1 KiB
Python
20 lines
1.1 KiB
Python
from django.conf.urls import url, include
|
|
|
|
from sas.views import *
|
|
|
|
urlpatterns = [
|
|
url(r'^$', SASMainView.as_view(), name='main'),
|
|
url(r'^moderation$', ModerationView.as_view(), name='moderation'),
|
|
url(r'^album/(?P<album_id>[0-9]+)$', AlbumView.as_view(), name='album'),
|
|
url(r'^album/(?P<album_id>[0-9]+)/upload$', AlbumUploadView.as_view(), name='album_upload'),
|
|
url(r'^album/(?P<album_id>[0-9]+)/edit$', AlbumEditView.as_view(), name='album_edit'),
|
|
url(r'^picture/(?P<picture_id>[0-9]+)$', PictureView.as_view(), name='picture'),
|
|
url(r'^picture/(?P<picture_id>[0-9]+)/edit$', PictureEditView.as_view(), name='picture_edit'),
|
|
url(r'^picture/(?P<picture_id>[0-9]+)/download$', send_pict, name='download'),
|
|
url(r'^picture/(?P<picture_id>[0-9]+)/download/compressed$', send_compressed, name='download_compressed'),
|
|
url(r'^picture/(?P<picture_id>[0-9]+)/download/thumb$', send_thumb, name='download_thumb'),
|
|
# url(r'^album/new$', AlbumCreateView.as_view(), name='album_new'),
|
|
# url(r'^(?P<club_id>[0-9]+)/$', ClubView.as_view(), name='club_view'),
|
|
]
|
|
|