Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fixed error message in detail generic view. #69

Closed
wants to merge 1 commit into from

2 participants

Mitar Florian Apolloner
Mitar

No description provided.

Florian Apolloner
Owner

Fixed in 4b5cb11, thanks!

Florian Apolloner 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
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/views/generic/detail.py
2  django/views/generic/detail.py
View
@@ -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.