From 91a0bbea06114265c99b31eb2d486f294581ec14 Mon Sep 17 00:00:00 2001 From: Paul Eggleton Date: Sun, 28 Jul 2013 23:56:47 +0100 Subject: [PATCH] Disable rawrecipes URL It's not really completely functional and puts quite a bit of load on the server when used, so just disable it for now. Signed-off-by: Paul Eggleton --- layerindex/urls.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/layerindex/urls.py b/layerindex/urls.py index a5171be..7006025 100644 --- a/layerindex/urls.py +++ b/layerindex/urls.py @@ -75,12 +75,12 @@ urlpatterns = patterns('', name="bulk_change_delete"), url(r'^branch/(?P[-\w]+)/', include('layerindex.urls_branch')), - url(r'^raw/recipes.txt$', - PlainTextListView.as_view( - queryset=Recipe.objects.order_by('pn', 'layerbranch__layer'), - context_object_name='recipe_list', - template_name='layerindex/rawrecipes.txt'), - name='recipe_list_raw'), + #url(r'^raw/recipes.txt$', + # PlainTextListView.as_view( + # queryset=Recipe.objects.order_by('pn', 'layerbranch__layer'), + # context_object_name='recipe_list', + # template_name='layerindex/rawrecipes.txt'), + # name='recipe_list_raw'), url(r'^history/$', HistoryListView.as_view( template_name='layerindex/history.html'),