kopia lustrzana https://github.com/wagtail/wagtail
add dj1.7 migration for adding 'colour' to AdvertPlacement test model
rodzic
663218c458
commit
ecd8657523
|
@ -0,0 +1,20 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import models, migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('tests', '0002_auto_20140827_0908'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='advertplacement',
|
||||
name='colour',
|
||||
field=models.CharField(default='blue', max_length=255),
|
||||
preserve_default=False,
|
||||
),
|
||||
]
|
Ładowanie…
Reference in New Issue