mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 21:09:03 +02:00

Add the ability to select a distro in the project page, based on values from the Layer Index. Add a distro selection page with the add layer feature, based on the add machine page. [YOCTO #10632] (Bitbake rev: a156a4eff67cdc3943494f5be72b96e3db656250) Signed-off-by: David Reyna <David.Reyna@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
26 lines
816 B
Python
26 lines
816 B
Python
# -*- coding: utf-8 -*-
|
|
from __future__ import unicode_literals
|
|
|
|
from django.db import migrations, models
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('orm', '0016_clone_progress'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='Distro',
|
|
fields=[
|
|
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
|
|
('up_id', models.IntegerField(default=None, null=True)),
|
|
('up_date', models.DateTimeField(default=None, null=True)),
|
|
('name', models.CharField(max_length=255)),
|
|
('description', models.CharField(max_length=255)),
|
|
('layer_version', models.ForeignKey(to='orm.Layer_Version')),
|
|
],
|
|
),
|
|
]
|
|
|