mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Refs #33476 -- Reformatted code with Black.
This commit is contained in:
committed by
Mariusz Felisiak
parent
f68fa8b45d
commit
9c19aff7c7
@@ -19,12 +19,12 @@ class Author(models.Model):
|
||||
|
||||
class ArticleManager(models.Manager):
|
||||
def get_queryset(self):
|
||||
return super().get_queryset().filter(authors__name__icontains='sir')
|
||||
return super().get_queryset().filter(authors__name__icontains="sir")
|
||||
|
||||
|
||||
class AttributeErrorManager(models.Manager):
|
||||
def get_queryset(self):
|
||||
raise AttributeError('AttributeErrorManager')
|
||||
raise AttributeError("AttributeErrorManager")
|
||||
|
||||
|
||||
class Article(models.Model):
|
||||
|
||||
Reference in New Issue
Block a user