Amélioration de l'interface d'ajout de jeux vidéos :

Modification de  :

  * ajout de champs d'aide sur les champs booléens
  * création des fichiers de migration pour ces champs d'aide
  * choix de l'ordre des champs dans l'interface admin de Games
This commit is contained in:
2017-08-24 20:43:58 +02:00
parent 04708e6286
commit 5820bdc63a
3 changed files with 47 additions and 3 deletions

View File

@ -0,0 +1,30 @@
# -*- coding: utf-8 -*-
# Generated by Django 1.11 on 2017-08-24 18:43
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('games', '0001_initial'),
]
operations = [
migrations.AlterField(
model_name='game',
name='playing',
field=models.BooleanField(default=False, help_text="You're currently playing this game."),
),
migrations.AlterField(
model_name='game',
name='unplayed',
field=models.BooleanField(default=False, help_text='You never played this game.'),
),
migrations.AlterField(
model_name='game',
name='wish',
field=models.BooleanField(default=False, help_text="You're waiting X-mas father offers you this game."),
),
]