Commit 55b6d3bc authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

blank suffix

parent 02c701ab
Pipeline #2782 passed with stages
in 43 seconds
# Generated by Django 2.1.5 on 2019-02-11 16:59
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('rainboard', '0028_image_allow_failure'),
]
operations = [
migrations.AlterField(
model_name='project',
name='suffix',
field=models.CharField(blank=True, default='', max_length=50),
),
]
...@@ -192,7 +192,7 @@ class Project(Links, NamedModel, TimeStampedModel): ...@@ -192,7 +192,7 @@ class Project(Links, NamedModel, TimeStampedModel):
from_gepetto = models.BooleanField(default=True) from_gepetto = models.BooleanField(default=True)
cmake_name = models.CharField(max_length=200, blank=True, null=True) cmake_name = models.CharField(max_length=200, blank=True, null=True)
archived = models.BooleanField(default=False) archived = models.BooleanField(default=False)
suffix = models.CharField(max_length=50, default='') suffix = models.CharField(max_length=50, default='', blank=True)
def save(self, *args, **kwargs): def save(self, *args, **kwargs):
self.name = valid_name(self.name) self.name = valid_name(self.name)
......
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 to comment