mirror of
https://github.com/django/django.git
synced 2025-08-03 10:34:04 +00:00
Fixed #21298 -- Fixed E301 pep8 warnings
This commit is contained in:
parent
317040a73b
commit
c3aa2948c6
83 changed files with 180 additions and 2 deletions
|
@ -148,6 +148,7 @@ class LargeDeleteTests(TestCase):
|
|||
for x in range(300):
|
||||
Book.objects.create(pagecount=x+100)
|
||||
# attach a signal to make sure we will not fast-delete
|
||||
|
||||
def noop(*args, **kwargs):
|
||||
pass
|
||||
models.signals.post_delete.connect(noop, sender=Book)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue