summaryrefslogtreecommitdiff
path: root/program/migrations
diff options
context:
space:
mode:
Diffstat (limited to 'program/migrations')
-rw-r--r--program/migrations/0012_add_language.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/program/migrations/0012_add_language.py b/program/migrations/0012_add_language.py
index 59be77d..21d3c4f 100644
--- a/program/migrations/0012_add_language.py
+++ b/program/migrations/0012_add_language.py
@@ -15,7 +15,8 @@ class Migration(migrations.Migration):
name='Language',
fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
- ('name', models.CharField(max_length=32, verbose_name='Language')),
+ ('slug', models.SlugField(unique=True, max_length=32, verbose_name='Slug')),
+ ('name', models.CharField(max_length=32, verbose_name='Name')),
('native_name', models.CharField(max_length=32, verbose_name='Native Name')),
],
options={