mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed E128 flake8 warnings in tests/.
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user