kopia lustrzana https://github.com/wagtail/wagtail
Changes repr method of Phrase to label the object Phrase instead of PlainText
rodzic
fe427efb75
commit
25b9139a7c
|
@ -45,7 +45,7 @@ class Phrase(SearchQuery):
|
|||
self.query_string = query_string
|
||||
|
||||
def __repr__(self):
|
||||
return '<PlainText {}>'.format(repr(self.query_string))
|
||||
return '<Phrase {}>'.format(repr(self.query_string))
|
||||
|
||||
|
||||
class MatchAll(SearchQuery):
|
||||
|
|
Ładowanie…
Reference in New Issue