Ticket #15544: patch15544.diff
File patch15544.diff, 499 bytes (added by , 14 years ago) |
---|
-
tests/regressiontests/generic_views/views.py
diff --git a/tests/regressiontests/generic_views/views.py b/tests/regressiontests/generic_views/views.py index 9d2770c..1452cef 100644
a b class OneAuthorUpdate(generic.UpdateView): 118 118 success_url = '/list/authors/' 119 119 120 120 def get_object(self): 121 return Author.objects.get( pk=1)121 return Author.objects.get() 122 122 123 123 124 124 class SpecializedAuthorUpdate(generic.UpdateView):