]> git.0d.be Git - django-panik-combo.git/blobdiff - panikombo/migrations/0016_soundscell.py
add new sounds cell
[django-panik-combo.git] / panikombo / migrations / 0016_soundscell.py
diff --git a/panikombo/migrations/0016_soundscell.py b/panikombo/migrations/0016_soundscell.py
new file mode 100644 (file)
index 0000000..3695356
--- /dev/null
@@ -0,0 +1,40 @@
+# -*- coding: utf-8 -*-
+# Generated by Django 1.11.29 on 2020-11-21 12:40
+from __future__ import unicode_literals
+
+from django.db import migrations, models
+import django.db.models.deletion
+
+
+class Migration(migrations.Migration):
+
+    dependencies = [
+        ('data', '0046_auto_20200611_1121'),
+        ('auth', '0008_alter_user_username_max_length'),
+        ('panikombo', '0015_auto_20200611_1250'),
+    ]
+
+    operations = [
+        migrations.CreateModel(
+            name='SoundsCell',
+            fields=[
+                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
+                ('placeholder', models.CharField(max_length=20)),
+                ('order', models.PositiveIntegerField()),
+                ('slug', models.SlugField(blank=True, verbose_name='Slug')),
+                ('extra_css_class', models.CharField(blank=True, max_length=100, verbose_name='Extra classes for CSS styling')),
+                ('public', models.BooleanField(default=True, verbose_name='Public')),
+                ('restricted_to_unlogged', models.BooleanField(default=False, verbose_name='Restrict to unlogged users')),
+                ('last_update_timestamp', models.DateTimeField(auto_now=True)),
+                ('include_search_input', models.BooleanField(default=True, verbose_name='Include search input')),
+                ('include_fragments', models.BooleanField(default=True, verbose_name='Include fragments')),
+                ('limit_to_focus', models.BooleanField(default=False, verbose_name='Limit to focused elements')),
+                ('count', models.PositiveSmallIntegerField(default=20, verbose_name='Count')),
+                ('groups', models.ManyToManyField(blank=True, to='auth.Group', verbose_name='Groups')),
+                ('page', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='data.Page')),
+            ],
+            options={
+                'verbose_name': 'Latest Sounds',
+            },
+        ),
+    ]