13 lines
465 B
Python
13 lines
465 B
Python
#!/usr/bin/env python
|
|
# -*- encoding: utf-8 -*-
|
|
from django.conf.urls import patterns, url
|
|
from papiezator import views
|
|
|
|
urlpatterns = patterns('',
|
|
url(r'^$', views.index, name='index'),
|
|
url(r'^(?P<width>\d+)/(?P<height>\d+)/$', views.conclave, name='conclave'),
|
|
url(r'^(?P<width>\d+)/(?P<height>\d+)/(?P<pope_id>\d+)/$', views.conclave, name='grand_conclave'),
|
|
#url(r'^(?P<width>\d+)/(?P<height>\d+)/r', views.conclave, name='random_conclave'),
|
|
)
|
|
|