summaryrefslogtreecommitdiff
path: root/app/pages/migrations
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2020-11-15 15:44:19 -0500
committerluxagraf <sng@luxagraf.net>2020-11-15 15:44:19 -0500
commit82e2c3d634a23d07465945bd5ca5c7a51630752f (patch)
tree782d302abad0993156dded8d531025ec060386dc /app/pages/migrations
parentd9ae96293e551904f29fba23fb50825aba67e7f0 (diff)
added site to pages and posts
Diffstat (limited to 'app/pages/migrations')
-rw-r--r--app/pages/migrations/0009_page_site.py21
1 files changed, 21 insertions, 0 deletions
diff --git a/app/pages/migrations/0009_page_site.py b/app/pages/migrations/0009_page_site.py
new file mode 100644
index 0000000..90f4a88
--- /dev/null
+++ b/app/pages/migrations/0009_page_site.py
@@ -0,0 +1,21 @@
+# Generated by Django 3.1 on 2020-11-15 15:40
+
+from django.db import migrations, models
+import django.db.models.deletion
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('sites', '0002_alter_domain_unique'),
+ ('pages', '0008_auto_20201114_0934'),
+ ]
+
+ operations = [
+ migrations.AddField(
+ model_name='page',
+ name='site',
+ field=models.ForeignKey(default=1, on_delete=django.db.models.deletion.CASCADE, to='sites.site'),
+ preserve_default=False,
+ ),
+ ]