Add gallery relation to location.city
This commit is contained in:
parent
99e2f30499
commit
0b68cb3420
19
apps/location/migrations/0024_city_gallery.py
Normal file
19
apps/location/migrations/0024_city_gallery.py
Normal file
|
|
@ -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'),
|
||||
),
|
||||
]
|
||||
Loading…
Reference in New Issue
Block a user