mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-03 21:37:49 -05:00
display of external recipes
This commit is contained in:
@@ -493,8 +493,8 @@ def offline(request):
|
||||
return render(request, 'offline.html', {})
|
||||
|
||||
|
||||
def test(request):
|
||||
def test(request, pk):
|
||||
if not settings.DEBUG:
|
||||
return HttpResponseRedirect(reverse('index'))
|
||||
|
||||
return render(request, 'test.html', {'test': None})
|
||||
return render(request, 'test.html', {'pk': pk})
|
||||
|
||||
Reference in New Issue
Block a user