Skip to content

Instantly share code, notes, and snippets.

@alej0varas
Last active September 23, 2016 10:49
Show Gist options
  • Save alej0varas/b96b0f174936359d3e9fc24bb9af33d9 to your computer and use it in GitHub Desktop.
Save alej0varas/b96b0f174936359d3e9fc24bb9af33d9 to your computer and use it in GitHub Desktop.
ulule/django-linguist migration outdated Python35 Django110
# -*- coding: utf-8 -*-
# Generated by Django 1.10.1 on 2016-09-23 05:42
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('linguist', '0001_initial'),
]
operations = [
migrations.AlterField(
model_name='translation',
name='language',
field=models.CharField(choices=[('en', 'English'), ('de', 'German'), ('fr', 'French'), ('es', 'Spanish'), ('it', 'Italian'), ('pt', 'Portuguese')], db_index=True, default='en', help_text='The language for this translation', max_length=10, verbose_name='language'),
),
migrations.AlterIndexTogether(
name='translation',
index_together=set([('identifier', 'object_id', 'field_name'), ('identifier', 'object_id')]),
),
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment