mirror of
https://github.com/Hopiu/django-model-utils.git
synced 2026-04-21 19:44:43 +00:00
Fix pep8 error
This commit is contained in:
parent
9b6f14bedd
commit
8d9a00b89b
1 changed files with 2 additions and 2 deletions
|
|
@ -165,8 +165,8 @@ class Post(models.Model):
|
|||
|
||||
objects = models.Manager()
|
||||
public = QueryManager(published=True)
|
||||
public_confirmed = QueryManager(models.Q(published=True)
|
||||
& models.Q(confirmed=True))
|
||||
public_confirmed = QueryManager(
|
||||
models.Q(published=True) & models.Q(confirmed=True))
|
||||
public_reversed = QueryManager(published=True).order_by("-order")
|
||||
|
||||
class Meta:
|
||||
|
|
|
|||
Loading…
Reference in a new issue