33 lines
1.5 KiB
Python
33 lines
1.5 KiB
Python
# -*- coding: utf-8 -*-
|
|
from __future__ import unicode_literals
|
|
|
|
from django.db import models, migrations
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('auth', '0001_initial'),
|
|
('data', '0010_feedcell'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='MomoIconCell',
|
|
fields=[
|
|
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
|
|
('placeholder', models.CharField(max_length=20)),
|
|
('order', models.PositiveIntegerField()),
|
|
('slug', models.SlugField(verbose_name='Slug', blank=True)),
|
|
('public', models.BooleanField(default=True, verbose_name='Public')),
|
|
('icon', models.CharField(default=b'', max_length=50, verbose_name='Icon', blank=True, choices=[(b'fa-home', 'Home'), (b'fa-globe', 'Globe'), (b'fa-mobile', 'Mobile'), (b'fa-comments', 'Comments'), (b'fa-map', 'Map'), (b'fa-users', 'Users'), (b'fa-institution', 'Institution'), (b'fa-bullhorn', 'Bull Horn'), (b'fa-calendar', 'Calendar'), (b'fa-map-marker', 'Map Marker'), (b'fa-book', 'Book')])),
|
|
('groups', models.ManyToManyField(to='auth.Group', verbose_name='Groups', blank=True)),
|
|
('page', models.ForeignKey(to='data.Page')),
|
|
],
|
|
options={
|
|
'verbose_name': 'Icon for mobile',
|
|
},
|
|
bases=(models.Model,),
|
|
),
|
|
]
|