openbackloggery/collection/games/migrations/0003_add_verbose_translatable_names.py

75 lines
2.9 KiB
Python
Raw Normal View History

2017-08-24 20:36:55 +00:00
# -*- coding: utf-8 -*-
# Generated by Django 1.11 on 2017-08-24 20:22
from __future__ import unicode_literals
import datetime
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('games', '0002_auto_20170824_1843'),
]
operations = [
migrations.AlterModelOptions(
name='console',
options={'verbose_name': 'console', 'verbose_name_plural': 'consoles'},
),
migrations.AlterModelOptions(
name='game',
options={'ordering': ('-playing', 'name'), 'verbose_name': 'game', 'verbose_name_plural': 'games'},
),
migrations.AlterModelOptions(
name='timeline',
options={'verbose_name': 'Timeline', 'verbose_name_plural': 'Timelines'},
),
migrations.AlterField(
model_name='console',
name='name',
field=models.CharField(max_length=255, verbose_name='nom'),
),
migrations.AlterField(
model_name='game',
name='name',
field=models.CharField(max_length=255, verbose_name='nom'),
),
migrations.AlterField(
model_name='game',
name='playing',
field=models.BooleanField(default=False, help_text="You're currently playing this game.", verbose_name='playing?'),
),
migrations.AlterField(
model_name='game',
name='status',
field=models.CharField(choices=[('created', 'New'), ('beaten', 'Beaten'), ('completed', 'Completed'), ('excluded', 'Excluded'), ('mastered', 'Mastered'), ('unfinished', 'Unfinished')], default='unfinished', max_length=30, verbose_name='status'),
),
migrations.AlterField(
model_name='game',
name='unplayed',
field=models.BooleanField(default=False, help_text='You never played this game.', verbose_name='unplayed?'),
),
migrations.AlterField(
model_name='game',
name='wish',
field=models.BooleanField(default=False, help_text="You're waiting X-mas father offers you this game.", verbose_name='wish?'),
),
migrations.AlterField(
model_name='timeline',
name='date',
field=models.DateTimeField(default=datetime.datetime.now, verbose_name='date'),
),
migrations.AlterField(
model_name='timeline',
name='item',
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='games.Game', verbose_name='game'),
),
migrations.AlterField(
model_name='timeline',
name='status',
field=models.CharField(choices=[('created', 'New'), ('beaten', 'Beaten'), ('completed', 'Completed'), ('excluded', 'Excluded'), ('mastered', 'Mastered'), ('unfinished', 'Unfinished')], default='created', max_length=30, verbose_name='status'),
),
]