Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed error message in detail generic view.

Thanks go to mitar for the report and the patch.
  • Loading branch information...
commit 4b5cb116e30020c459ad8c9314ae9311b461beb5 1 parent 7d06f97
Florian Apolloner authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  django/views/generic/detail.py
2  django/views/generic/detail.py
@@ -66,7 +66,7 @@ def get_queryset(self):
66 66
             else:
67 67
                 raise ImproperlyConfigured("%(cls)s is missing a queryset. Define "
68 68
                                            "%(cls)s.model, %(cls)s.queryset, or override "
69  
-                                           "%(cls)s.get_object()." % {
  69
+                                           "%(cls)s.get_queryset()." % {
70 70
                                                 'cls': self.__class__.__name__
71 71
                                         })
72 72
         return self.queryset._clone()

0 notes on commit 4b5cb11

Please sign in to comment.
Something went wrong with that request. Please try again.