Matěj Kocián
9 years ago
4 changed files with 18 additions and 17 deletions
@ -1,12 +1,13 @@ |
|||||
# coding: utf-8 |
# coding: utf-8 |
||||
|
|
||||
from django.conf.urls import patterns, include, url |
from django.conf.urls import patterns, include, url |
||||
|
from . import views |
||||
|
|
||||
urlpatterns = patterns('', |
urlpatterns = [ |
||||
(r'^(?P<pk>\d+)/$', 'galerie.views.nahled'), |
url(r'^(?P<pk>\d+)/$', views.nahled), |
||||
(r'^(?P<pk>\d+)/(?P<fotka>\d+)/$', 'galerie.views.detail'), |
url(r'^(?P<pk>\d+)/(?P<fotka>\d+)/$', views.detail), |
||||
(r'^(?P<galerie>\d+)/new/$', 'galerie.views.new_galerie'), |
url(r'^(?P<galerie>\d+)/new/$', views.new_galerie), |
||||
(r'^(?P<galerie>\d+)/plus/(?P<subgalerie>\d+)/$', 'galerie.views.plus_galerie'), |
url(r'^(?P<galerie>\d+)/plus/(?P<subgalerie>\d+)/$', views.plus_galerie), |
||||
(r'^(?P<galerie>\d+)/minus/(?P<subgalerie>\d+)/$', 'galerie.views.minus_galerie'), |
url(r'^(?P<galerie>\d+)/minus/(?P<subgalerie>\d+)/$', views.minus_galerie), |
||||
) |
] |
||||
|
|
||||
|
Loading…
Reference in new issue