Mercurial > public > sg101
annotate news/migrations/0005_auto_20151121_1445.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 | 8386a8ebcbc7 |
children |
rev | line source |
---|---|
bgneal@999 | 1 # -*- coding: utf-8 -*- |
bgneal@999 | 2 from __future__ import unicode_literals |
bgneal@999 | 3 |
bgneal@999 | 4 from django.db import models, migrations |
bgneal@999 | 5 |
bgneal@999 | 6 |
bgneal@999 | 7 class Migration(migrations.Migration): |
bgneal@999 | 8 |
bgneal@999 | 9 dependencies = [ |
bgneal@999 | 10 ('news', '0004_auto_20151120_2228'), |
bgneal@999 | 11 ] |
bgneal@999 | 12 |
bgneal@999 | 13 operations = [ |
bgneal@999 | 14 migrations.AlterField( |
bgneal@999 | 15 model_name='pendingstory', |
bgneal@999 | 16 name='short_text', |
bgneal@999 | 17 field=models.TextField(default=b'', blank=True), |
bgneal@999 | 18 preserve_default=True, |
bgneal@999 | 19 ), |
bgneal@999 | 20 migrations.AlterField( |
bgneal@999 | 21 model_name='story', |
bgneal@999 | 22 name='short_text', |
bgneal@999 | 23 field=models.TextField(default=b'', blank=True), |
bgneal@999 | 24 preserve_default=True, |
bgneal@999 | 25 ), |
bgneal@999 | 26 ] |