Skip to content

Commit

Permalink
Ajoute des migrations oubliées
Browse files Browse the repository at this point in the history
  • Loading branch information
Eskimon committed Sep 28, 2015
1 parent 0f393ae commit 263b092
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 0 deletions.
22 changes: 22 additions & 0 deletions zds/gallery/migrations/0003_auto_20150928_1249.py
Original file line number Diff line number Diff line change
@@ -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,
),
]
21 changes: 21 additions & 0 deletions zds/tutorial/migrations/0002_auto_20150928_1249.py
Original file line number Diff line number Diff line change
@@ -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,
),
]

0 comments on commit 263b092

Please sign in to comment.