mirror of
git://git.yoctoproject.org/layerindex-web.git
synced 2025-07-19 20:59:01 +02:00
Don't default layer type in submit layer form
We want to force selection of a specific layer type, otherwise many submitters will just leave it at the default value. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
This commit is contained in:
parent
710bc8fbb5
commit
4fef5c0c8e
|
@ -24,7 +24,7 @@ class LayerItem(models.Model):
|
||||||
name = models.CharField('Layer name', max_length=40, unique=True)
|
name = models.CharField('Layer name', max_length=40, unique=True)
|
||||||
created_date = models.DateTimeField('Created')
|
created_date = models.DateTimeField('Created')
|
||||||
status = models.CharField(max_length=1, choices=LAYER_STATUS_CHOICES, default='N')
|
status = models.CharField(max_length=1, choices=LAYER_STATUS_CHOICES, default='N')
|
||||||
layer_type = models.CharField(max_length=1, choices=LAYER_TYPE_CHOICES, default='M')
|
layer_type = models.CharField(max_length=1, choices=LAYER_TYPE_CHOICES)
|
||||||
summary = models.CharField(max_length=200)
|
summary = models.CharField(max_length=200)
|
||||||
description = models.TextField()
|
description = models.TextField()
|
||||||
vcs_last_fetch = models.DateTimeField('Last successful fetch', blank=True, null=True)
|
vcs_last_fetch = models.DateTimeField('Last successful fetch', blank=True, null=True)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user