Mercurial > public > sg101
annotate news/migrations/0004_auto_20151120_2228.py @ 1157:e4f2d6a4b401
Rework S3 connection logic for latest versions of Python 2.7.
Had to make these changes for Ubuntu 16.04. Seems backward compatible
with production.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Thu, 19 Jan 2017 18:35:53 -0600 |
parents | e2c3d7ecfa30 |
children |
rev | line source |
---|---|
bgneal@998 | 1 # -*- coding: utf-8 -*- |
bgneal@998 | 2 from __future__ import unicode_literals |
bgneal@998 | 3 |
bgneal@998 | 4 from django.db import models, migrations |
bgneal@998 | 5 |
bgneal@998 | 6 |
bgneal@998 | 7 class Migration(migrations.Migration): |
bgneal@998 | 8 |
bgneal@998 | 9 dependencies = [ |
bgneal@998 | 10 ('news', '0003_auto_20151117_2032'), |
bgneal@998 | 11 ] |
bgneal@998 | 12 |
bgneal@998 | 13 operations = [ |
bgneal@998 | 14 migrations.AlterField( |
bgneal@998 | 15 model_name='pendingstory', |
bgneal@998 | 16 name='long_text', |
bgneal@998 | 17 field=models.TextField(default=b'', blank=True), |
bgneal@998 | 18 preserve_default=True, |
bgneal@998 | 19 ), |
bgneal@998 | 20 migrations.AlterField( |
bgneal@998 | 21 model_name='story', |
bgneal@998 | 22 name='long_text', |
bgneal@998 | 23 field=models.TextField(default=b'', blank=True), |
bgneal@998 | 24 preserve_default=True, |
bgneal@998 | 25 ), |
bgneal@998 | 26 ] |