Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Fixed error message in detail generic view. #69

Closed
wants to merge 1 commit into from

2 participants

@mitar

No description provided.

@apollo13
Owner

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
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
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.