summaryrefslogtreecommitdiff
path: root/tests/get_object_or_404/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/get_object_or_404/models.py')
-rw-r--r--tests/get_object_or_404/models.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/get_object_or_404/models.py b/tests/get_object_or_404/models.py
index 24c6aa975c..d130883c53 100644
--- a/tests/get_object_or_404/models.py
+++ b/tests/get_object_or_404/models.py
@@ -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):