Skip to content

Loading…

Fixed error message in detail generic view. #69

Closed
wants to merge 1 commit into from

2 participants

@mitar

No description provided.

@apollo13
Django member

Fixed in 4b5cb11, thanks!

@apollo13 apollo13 closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on May 16, 2012
  1. @mitar
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/views/generic/detail.py
View
2 django/views/generic/detail.py
@@ -63,7 +63,7 @@ def get_queryset(self):
else:
raise ImproperlyConfigured(u"%(cls)s is missing a queryset. Define "
u"%(cls)s.model, %(cls)s.queryset, or override "
- u"%(cls)s.get_object()." % {
+ u"%(cls)s.get_queryset()." % {
'cls': self.__class__.__name__
})
return self.queryset._clone()
Something went wrong with that request. Please try again.