From 82e2c3d634a23d07465945bd5ca5c7a51630752f Mon Sep 17 00:00:00 2001 From: luxagraf Date: Sun, 15 Nov 2020 15:44:19 -0500 Subject: added site to pages and posts --- app/posts/migrations/0016_post_site.py | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 app/posts/migrations/0016_post_site.py (limited to 'app/posts/migrations') diff --git a/app/posts/migrations/0016_post_site.py b/app/posts/migrations/0016_post_site.py new file mode 100644 index 0000000..f04eb28 --- /dev/null +++ b/app/posts/migrations/0016_post_site.py @@ -0,0 +1,21 @@ +# Generated by Django 3.1 on 2020-11-15 15:43 + +from django.db import migrations, models +import django.db.models.deletion + + +class Migration(migrations.Migration): + + dependencies = [ + ('sites', '0002_alter_domain_unique'), + ('posts', '0015_post_old_image'), + ] + + operations = [ + migrations.AddField( + model_name='post', + name='site', + field=models.ForeignKey(default=1, on_delete=django.db.models.deletion.CASCADE, to='sites.site'), + preserve_default=False, + ), + ] -- cgit v1.2.3-70-g09d2