master
daz 2014-01-06 02:59:59 +01:00
parent aa90c36bb3
commit d2c5048b3f
2 changed files with 1 additions and 10 deletions

View File

@ -7,5 +7,6 @@ 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'),
)

View File

@ -30,13 +30,3 @@ def conclave(request, width, height, pope_id=0):
)
return HttpResponse(":c")
#def grand_conclave(request, width, height, pope_id):
#width, height = int(width), int(height)
#if not unpopable(width, height):
#aspect_ratio = round(width/height, decimal_places)
#pope = pope_or_death(pope_id=pope_id)
#pope = select_best_pope(aspect_ratio)