-# -*- coding: utf-8 -*-
-from __future__ import unicode_literals
-
from os.path import join
from django.conf import settings
from django.db import models, migrations
+import django.db.models.deletion
import sorl.thumbnail.fields
import jsonfield.fields
import django.core.files.storage
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('area', jsonfield.fields.JSONField(default={}, verbose_name='area', editable=False)),
('kind', models.CharField(db_index=True, max_length=10, verbose_name='form', choices=[('thing', 'thing'), ('theme', 'motif')])),
- ('picture', models.ForeignKey(related_name='areas', to='picture.Picture')),
+ ('picture', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='areas', to='picture.Picture')),
],
options={
},