fix #14 - Figurines : ajout de nouveaux types, parmi :
* Battle pack * Level pack (anciennement world) * Expansion pack * Trophy (pour les trophés Skylanders) * Trap (pour les pièges de cristal de Skylanders)
This commit is contained in:
35
collection/figurines/migrations/0007_new_kinds.py
Normal file
35
collection/figurines/migrations/0007_new_kinds.py
Normal file
@ -0,0 +1,35 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Generated by Django 1.11.9 on 2018-02-04 19:34
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations
|
||||
from django.db import models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('figurines', '0006_add_coins'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='figurine',
|
||||
name='kind',
|
||||
field=models.CharField(
|
||||
choices=[('character', 'Character'), ('vehicle', 'Vehicle'),
|
||||
('world', 'Level pack'), ('gadget', 'Gadget'),
|
||||
('battle', 'Battle pack'), ('expansion',
|
||||
'Expansion pack'),
|
||||
('trophy', 'Trophy'), ('trap', 'Trap')],
|
||||
default='character',
|
||||
max_length=30,
|
||||
verbose_name='kind'), ),
|
||||
migrations.AlterField(
|
||||
model_name='figurine',
|
||||
name='name',
|
||||
field=models.CharField(
|
||||
help_text='Figurine denomination',
|
||||
max_length=255,
|
||||
verbose_name='name'), ),
|
||||
]
|
Reference in New Issue
Block a user