~widelands-dev/widelands-website/trunk

« back to all changes in this revision

Viewing changes to wlhelp/migrations/0002_auto_20190410_1734.py

  • Committer: franku
  • Date: 2019-04-10 16:18:40 UTC
  • mfrom: (531.1.5 screens_ordering)
  • Revision ID: somal@arcor.de-20190410161840-29hlbwn3qsbctaa4
allow ordering of screenshots by adding a new column to the tables screenshots; reworked the corresponding admin pages

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# -*- coding: utf-8 -*-
 
2
# Generated by Django 1.11.20 on 2019-04-10 17:34
 
3
from __future__ import unicode_literals
 
4
 
 
5
from django.db import migrations, models
 
6
 
 
7
 
 
8
class Migration(migrations.Migration):
 
9
 
 
10
    dependencies = [
 
11
        ('wlhelp', '0001_initial'),
 
12
    ]
 
13
 
 
14
    operations = [
 
15
        migrations.AlterModelOptions(
 
16
            name='building',
 
17
            options={'ordering': ['name']},
 
18
        ),
 
19
        migrations.AlterModelOptions(
 
20
            name='tribe',
 
21
            options={'ordering': ['name']},
 
22
        ),
 
23
        migrations.AlterModelOptions(
 
24
            name='ware',
 
25
            options={'ordering': ['name']},
 
26
        ),
 
27
        migrations.AlterModelOptions(
 
28
            name='worker',
 
29
            options={'ordering': ['name']},
 
30
        ),
 
31
        migrations.AlterField(
 
32
            model_name='building',
 
33
            name='type',
 
34
            field=models.CharField(choices=[(b'P', b'productionsite'), (b'W', b'warehouse'), (b'M', b'militarysite'), (b'T', b'trainingsite'), (b'm', b'market')], max_length=1),
 
35
        ),
 
36
    ]