We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83f31d9 commit 6a34c4aCopy full SHA for 6a34c4a
tests/model_fields_/test_embedded_model.py
@@ -229,7 +229,6 @@ class MyModel(models.Model):
229
230
class SubqueryExistsTests(TestCase):
231
def setUpTestData(self):
232
- # Create test data
233
address1 = Address(city="New York", state="NY", zip_code=10001)
234
address2 = Address(city="Boston", state="MA", zip_code=20002)
235
author1 = Author(name="Alice", age=30, address=address1)
@@ -245,7 +244,6 @@ def setUpTestData(self):
245
244
library2 = Library.objects.create(
246
name="Community Library", location="Suburbs", best_seller="Book 1"
247
)
248
- # Add books to libraries
249
library1.books.add(book1, book2)
250
library2.books.add(book2)
251
0 commit comments