mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-16 19:23:27 +00:00
14 lines
532 B
Python
14 lines
532 B
Python
from django.conf.urls import url, include
|
|
|
|
from sas.views import *
|
|
|
|
urlpatterns = [
|
|
url(r'^$', SASMainView.as_view(), name='main'),
|
|
url(r'^album/(?P<album_id>[0-9]+)$', AlbumView.as_view(), name='album'),
|
|
url(r'^picture/(?P<picture_id>[0-9]+)$', PictureView.as_view(), name='picture'),
|
|
url(r'^picture/(?P<picture_id>[0-9]+)/download$', send_pict, name='download'),
|
|
# url(r'^album/new$', AlbumCreateView.as_view(), name='album_new'),
|
|
# url(r'^(?P<club_id>[0-9]+)/$', ClubView.as_view(), name='club_view'),
|
|
]
|
|
|