Commit 415ba749 by Bodor Máté

Fix flake8 W291 errors

parent d2987ecd
...@@ -13,35 +13,22 @@ LEASE_TYPES = tuple( ...@@ -13,35 +13,22 @@ LEASE_TYPES = tuple(
class Instance(models.Model): class Instance(models.Model):
name = models.CharField( name = models.CharField(max_length=100, help_text="Human readable name of instance")
max_length=100,
help_text="Human readable name of instance"
)
remote_id = models.CharField( remote_id = models.CharField(
max_length=100, max_length=100, help_text="ID of the instance on the backend"
help_text="ID of the instance on the backend"
) )
description = models.TextField( description = models.TextField(
blank=True, blank=True, help_text="The description of the instance"
help_text="The description of the instance"
) )
access_method = models.CharField( access_method = models.CharField(
max_length=10, max_length=10, choices=ACCESS_METHODS, help_text="Primary remote access method"
choices=ACCESS_METHODS,
help_text="Primary remote access method"
)
system = models.CharField(
max_length=50,
help_text="Operating system type"
) )
system = models.CharField(max_length=50, help_text="Operating system type")
password = models.CharField( password = models.CharField(
max_length=50, max_length=50, help_text="Original password of the instance"
help_text="Original password of the instance"
) )
lease = models.CharField( lease = models.CharField(
max_length=50, max_length=50, choices=LEASE_TYPES, help_text="Expiration method"
choices=LEASE_TYPES,
help_text="Expiration method"
) )
time_of_suspend = models.DateTimeField( time_of_suspend = models.DateTimeField(
help_text="After this point in time, the instance will be suspended" help_text="After this point in time, the instance will be suspended"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment