mirror of
https://github.com/django/django.git
synced 2025-10-22 00:02:23 +00:00
Fixed E128 flake8 warnings in tests/.
This commit is contained in:
parent
df8d8d4292
commit
92053acbb9
148 changed files with 2073 additions and 2248 deletions
|
@ -68,7 +68,8 @@ class UniqueForDateModel(models.Model):
|
|||
|
||||
class CustomMessagesModel(models.Model):
|
||||
other = models.IntegerField(blank=True, null=True)
|
||||
number = models.IntegerField(db_column='number_val',
|
||||
number = models.IntegerField(
|
||||
db_column='number_val',
|
||||
error_messages={'null': 'NULL', 'not42': 'AAARGH', 'not_equal': '%s != me'},
|
||||
validators=[validate_answer_to_universe]
|
||||
)
|
||||
|
@ -115,8 +116,7 @@ class GenericIPAddressTestModel(models.Model):
|
|||
generic_ip = models.GenericIPAddressField(blank=True, null=True, unique=True)
|
||||
v4_ip = models.GenericIPAddressField(blank=True, null=True, protocol="ipv4")
|
||||
v6_ip = models.GenericIPAddressField(blank=True, null=True, protocol="ipv6")
|
||||
ip_verbose_name = models.GenericIPAddressField("IP Address Verbose",
|
||||
blank=True, null=True)
|
||||
ip_verbose_name = models.GenericIPAddressField("IP Address Verbose", blank=True, null=True)
|
||||
|
||||
|
||||
class GenericIPAddrUnpackUniqueTest(models.Model):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue