From 263b09238ac8e001a2a38a059d5ad2c3abd67306 Mon Sep 17 00:00:00 2001 From: Eskimon Date: Mon, 28 Sep 2015 12:52:18 +0200 Subject: [PATCH] =?UTF-8?q?Ajoute=20des=20migrations=20oubli=C3=A9es?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../migrations/0003_auto_20150928_1249.py | 22 +++++++++++++++++++ .../migrations/0002_auto_20150928_1249.py | 21 ++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 zds/gallery/migrations/0003_auto_20150928_1249.py create mode 100644 zds/tutorial/migrations/0002_auto_20150928_1249.py diff --git a/zds/gallery/migrations/0003_auto_20150928_1249.py b/zds/gallery/migrations/0003_auto_20150928_1249.py new file mode 100644 index 0000000000..dec660ac84 --- /dev/null +++ b/zds/gallery/migrations/0003_auto_20150928_1249.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +from __future__ import unicode_literals + +from django.db import models, migrations +import zds.gallery.models +import easy_thumbnails.fields + + +class Migration(migrations.Migration): + + dependencies = [ + ('gallery', '0002_auto_20150409_2122'), + ] + + operations = [ + migrations.AlterField( + model_name='image', + name='physical', + field=easy_thumbnails.fields.ThumbnailerImageField(max_length=200, upload_to=zds.gallery.models.image_path), + preserve_default=True, + ), + ] diff --git a/zds/tutorial/migrations/0002_auto_20150928_1249.py b/zds/tutorial/migrations/0002_auto_20150928_1249.py new file mode 100644 index 0000000000..6fcb01644d --- /dev/null +++ b/zds/tutorial/migrations/0002_auto_20150928_1249.py @@ -0,0 +1,21 @@ +# -*- coding: utf-8 -*- +from __future__ import unicode_literals + +from django.db import models, migrations +import django.db.models.deletion + + +class Migration(migrations.Migration): + + dependencies = [ + ('tutorial', '0001_initial'), + ] + + operations = [ + migrations.AlterField( + model_name='chapter', + name='image', + field=models.ForeignKey(on_delete=django.db.models.deletion.SET_NULL, verbose_name=b'Image du chapitre', blank=True, to='gallery.Image', null=True), + preserve_default=True, + ), + ]