20 lines
616 B
Python
20 lines
616 B
Python
#!/usr/bin/env python
|
|
# -*- encoding: utf-8 -*-
|
|
from django.conf.urls import patterns, url
|
|
from papiezator import views
|
|
from papiezator.extenpopes import noir
|
|
|
|
whp = r'(?P<width>\d+)/(?P<height>\d+)/(?P<pope_id>\d+)/$'
|
|
wh = r'(?P<width>\d+)/(?P<height>\d+)/$'
|
|
urlpatterns = patterns(
|
|
'',
|
|
url(r'^$', views.index, name='index'),
|
|
url(r'^(?P<pope>\w+)/$', views.index, name='index'),
|
|
url(r'^' + wh, views.conclave, name='conclave'),
|
|
url(r'^' + whp, views.conclave, name='grand_conclave'),
|
|
url(r'^noirpope/' + wh, noir.view, name='noir'),
|
|
url(r'^noirpope/' + whp, noir.view, name='noir'),
|
|
|
|
)
|
|
|