summaryrefslogtreecommitdiffstats
path: root/combo_plugin_imio_townstreet/migrations/0001_initial.py
diff options
context:
space:
mode:
Diffstat (limited to 'combo_plugin_imio_townstreet/migrations/0001_initial.py')
-rw-r--r--combo_plugin_imio_townstreet/migrations/0001_initial.py45
1 files changed, 45 insertions, 0 deletions
diff --git a/combo_plugin_imio_townstreet/migrations/0001_initial.py b/combo_plugin_imio_townstreet/migrations/0001_initial.py
new file mode 100644
index 0000000..9b954ce
--- /dev/null
+++ b/combo_plugin_imio_townstreet/migrations/0001_initial.py
@@ -0,0 +1,45 @@
+# Generated by Django 2.2.12 on 2021-02-19 13:28
+
+from django.db import migrations, models
+import django.db.models.deletion
+
+
+class Migration(migrations.Migration):
+
+ initial = True
+
+ dependencies = [
+ ('data', '0045_link_list_limit'),
+ ]
+
+ operations = [
+ migrations.CreateModel(
+ name='TownstreetButton',
+ 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)),
+ ('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': 'Townstreet Button',
+ },
+ ),
+ ]