~widelands-dev/widelands-website/django_staticfiles

« back to all changes in this revision

Viewing changes to privacy_policy/migrations/0001_initial.py

  • Committer: franku
  • Date: 2018-10-08 17:51:36 UTC
  • mto: This revision was merged to the branch mainline in revision 503.
  • Revision ID: somal@arcor.de-20181008175136-hrfq4r2ua1u22hru
refactored the view

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# -*- coding: utf-8 -*-
2
 
# Generated by Django 1.11.12 on 2018-10-02 18:48
 
2
# Generated by Django 1.11.12 on 2018-10-08 18:23
3
3
from __future__ import unicode_literals
4
4
 
5
5
from django.db import migrations, models
19
19
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
20
20
                ('language', models.CharField(default='English', help_text='Will be displayed as a level 1 header', max_length=30, unique=True)),
21
21
                ('policy_text', models.TextField(help_text='Text will be rendered using markdown syntax')),
 
22
                ('slug', models.SlugField(unique=True)),
22
23
            ],
23
24
            options={
24
25
                'ordering': ['language'],