mirror of
https://github.com/django/django.git
synced 2025-10-26 15:16:09 +00:00
Refs #36500 -- Rewrapped long docstrings and block comments via a script.
Rewrapped long docstrings and block comments to 79 characters + newline using script from https://github.com/medmunds/autofix-w505.
This commit is contained in:
@@ -197,10 +197,10 @@ class GenericRelationsTests(TestCase):
|
||||
"""
|
||||
Test lookups over an object without GenericRelations.
|
||||
"""
|
||||
# Recall that the Mineral class doesn't have an explicit GenericRelation
|
||||
# defined. That's OK, because you can create TaggedItems explicitly.
|
||||
# However, excluding GenericRelations means your lookups have to be a
|
||||
# bit more explicit.
|
||||
# Recall that the Mineral class doesn't have an explicit
|
||||
# GenericRelation defined. That's OK, because you can create
|
||||
# TaggedItems explicitly. However, excluding GenericRelations means
|
||||
# your lookups have to be a bit more explicit.
|
||||
shiny = TaggedItem.objects.create(content_object=self.quartz, tag="shiny")
|
||||
clearish = TaggedItem.objects.create(content_object=self.quartz, tag="clearish")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user