35 linhas
1.4 KiB
Python
35 linhas
1.4 KiB
Python
# Generated by Django 2.2.5 on 2019-12-18 20:01
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
initial = True
|
|
|
|
dependencies = [
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='BottomBar',
|
|
fields=[
|
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('name', models.CharField(blank=True, max_length=64)),
|
|
('icon', models.ImageField(blank=True, upload_to='theme')),
|
|
('url', models.URLField()),
|
|
('left', models.BooleanField()),
|
|
('sequence_number', models.SmallIntegerField(choices=[(1, '1'), (2, '2'), (3, '3'), (4, '4'), (5, '5')])),
|
|
],
|
|
),
|
|
migrations.CreateModel(
|
|
name='Setting',
|
|
fields=[
|
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('page_image', models.ImageField(default='theme/logo.png', upload_to='theme')),
|
|
('page_theme', models.CharField(choices=[('default', 'Default'), ('clear-red', 'Clear Red'), ('clear-green', 'Clear Green'), ('clear-blue', 'Clear Blue')], default='default', max_length=64)),
|
|
('page_title', models.CharField(blank=True, default='MyApp', max_length=32)),
|
|
],
|
|
),
|
|
]
|