Commit a57a082a authored by okhin's avatar okhin 🚴

Adding migrations needed

parent fbb16533
Pipeline #769 failed with stages
in 36 seconds
# -*- coding: utf-8 -*-
# Generated by Django 1.10.4 on 2017-01-19 11:05
from __future__ import unicode_literals
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('campaign', '0005_argumentary_title'),
]
operations = [
migrations.RemoveField(
model_name='argumentary',
name='lang',
),
migrations.RemoveField(
model_name='campaign',
name='default_lang',
),
]
# -*- coding: utf-8 -*-
# Generated by Django 1.10.4 on 2017-01-19 11:17
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('campaign', '0006_auto_20170119_1205'),
]
operations = [
migrations.AddField(
model_name='argumentary',
name='text_de',
field=models.TextField(null=True),
),
migrations.AddField(
model_name='argumentary',
name='text_en',
field=models.TextField(null=True),
),
migrations.AddField(
model_name='argumentary',
name='text_fr',
field=models.TextField(null=True),
),
migrations.AddField(
model_name='argumentary',
name='title_de',
field=models.CharField(blank=True, max_length=255, null=True, verbose_name='title'),
),
migrations.AddField(
model_name='argumentary',
name='title_en',
field=models.CharField(blank=True, max_length=255, null=True, verbose_name='title'),
),
migrations.AddField(
model_name='argumentary',
name='title_fr',
field=models.CharField(blank=True, max_length=255, null=True, verbose_name='title'),
),
migrations.AddField(
model_name='campaign',
name='description_de',
field=models.TextField(null=True),
),
migrations.AddField(
model_name='campaign',
name='description_en',
field=models.TextField(null=True),
),
migrations.AddField(
model_name='campaign',
name='description_fr',
field=models.TextField(null=True),
),
migrations.AddField(
model_name='campaign',
name='title_de',
field=models.CharField(max_length=255, null=True),
),
migrations.AddField(
model_name='campaign',
name='title_en',
field=models.CharField(max_length=255, null=True),
),
migrations.AddField(
model_name='campaign',
name='title_fr',
field=models.CharField(max_length=255, null=True),
),
]
......@@ -23,5 +23,6 @@ campaign_router.register(r'groups', GroupViewSet)
urlpatterns = [
url(r'^admin/', include(admin.site.urls)),
url(r'^', include(router.urls)),
url(r'^', include(campaign_router.urls))
url(r'^', include(campaign_router.urls)),
url(r'^i18n/', includ('django.conf.urls.i18n'))
]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment