Created
December 22, 2016 01:09
-
-
Save joshghent/2725c36f6bff89a237dda71d0c0ce0b5 to your computer and use it in GitHub Desktop.
SWAPI migration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
from __future__ import unicode_literals | |
from django.db import models, migrations | |
class Migration(migrations.Migration): | |
dependencies = [ | |
('resources', '0004_editablemodel'), | |
] | |
operations = [ | |
migrations.AddField( | |
model_name='film', | |
name='poster', | |
field=models.CharField(max_length=1000), | |
preserve_default=False, | |
), | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment