mirror of
https://github.com/django/django.git
synced 2025-11-28 14:37:59 +00:00
Fixed #27546 -- Removed hardcoded class names in __repr__() methods.
This commit is contained in:
parent
794b7d8033
commit
48826aa541
6 changed files with 14 additions and 8 deletions
|
|
@ -86,7 +86,7 @@ class RawQuery(object):
|
|||
return iter(result)
|
||||
|
||||
def __repr__(self):
|
||||
return "<RawQuery: %s>" % self
|
||||
return "<%s: %s>" % (self.__class__.__name__, self)
|
||||
|
||||
@property
|
||||
def params_type(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue