mirror of
https://github.com/Hopiu/django-modeltranslation.git
synced 2026-05-17 01:01:06 +00:00
PEP8 fix.
This commit is contained in:
parent
b313793490
commit
85ddf84b8f
1 changed files with 2 additions and 1 deletions
|
|
@ -262,7 +262,8 @@ class ManagerTestModel(models.Model):
|
|||
|
||||
class CustomManager(models.Manager):
|
||||
def get_query_set(self):
|
||||
return super(CustomManager, self).get_query_set().filter(title__contains='a').exclude(description__contains='x')
|
||||
return (super(CustomManager, self).get_query_set().filter(title__contains='a')
|
||||
.exclude(description__contains='x'))
|
||||
|
||||
def foo(self):
|
||||
return 'bar'
|
||||
|
|
|
|||
Loading…
Reference in a new issue