mirror of
https://github.com/ae-utbm/sith.git
synced 2024-10-31 19:38:04 +00:00
19 lines
1000 B
Python
19 lines
1000 B
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]+)/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'),
|
|
]
|
|
|