Update project model formatting
@@ -23,11 +23,21 @@ class Project(DiffModel, DescribableModel):
editable=False,
unique=True,
null=False)
- name = models.CharField(max_length=256, validators=[validate_slug, validate_blacklist_name])
- user = models.ForeignKey(settings.AUTH_USER_MODEL, related_name='projects')
- is_public = models.BooleanField(default=True, help_text='If project is public or private.')
- has_tensorboard = models.BooleanField(default=False, help_text='If project has a tensorboard.')
- has_notebook = models.BooleanField(default=False, help_text='If project has a notebook.')
+ name = models.CharField(
+ max_length=256,
+ validators=[validate_slug, validate_blacklist_name])
+ user = models.ForeignKey(
+ settings.AUTH_USER_MODEL,
+ related_name='projects')
+ is_public = models.BooleanField(
+ default=True,
+ help_text='If project is public or private.')
+ has_tensorboard = models.BooleanField(
+ default=False,
+ help_text='If project has a tensorboard.')
+ has_notebook = models.BooleanField(
+ default=False,
+ help_text='If project has a notebook.')
def __str__(self):
return self.unique_name
