Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Fixed error message in detail generic view. #69

Closed
wants to merge 1 commit into from

2 participants

Mitar Florian Apolloner
Mitar
mitar commented

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

Showing 1 unique commit by 1 author.

May 16, 2012
Mitar Fixed error message in detail generic view. bee09a2
This page is out of date. Refresh to see the latest.

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
@@ -63,7 +63,7 @@ def get_queryset(self):
63 63
             else:
64 64
                 raise ImproperlyConfigured(u"%(cls)s is missing a queryset. Define "
65 65
                                            u"%(cls)s.model, %(cls)s.queryset, or override "
66  
-                                           u"%(cls)s.get_object()." % {
  66
+                                           u"%(cls)s.get_queryset()." % {
67 67
                                                 'cls': self.__class__.__name__
68 68
                                         })
69 69
         return self.queryset._clone()
Commit_comment_tip

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.