From 0b68cb34207bd29c148889ea6981ee1a61c5a5f7 Mon Sep 17 00:00:00 2001 From: littlewolf Date: Thu, 7 Nov 2019 11:49:10 +0300 Subject: [PATCH] Add gallery relation to location.city --- apps/location/migrations/0024_city_gallery.py | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 apps/location/migrations/0024_city_gallery.py diff --git a/apps/location/migrations/0024_city_gallery.py b/apps/location/migrations/0024_city_gallery.py new file mode 100644 index 00000000..22774103 --- /dev/null +++ b/apps/location/migrations/0024_city_gallery.py @@ -0,0 +1,19 @@ +# Generated by Django 2.2.4 on 2019-11-07 08:46 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('gallery', '0006_merge_20191027_1758'), + ('location', '0023_auto_20191107_0742'), + ] + + operations = [ + migrations.AddField( + model_name='city', + name='gallery', + field=models.ManyToManyField(through='location.CityGallery', to='gallery.Image'), + ), + ]