Ajout du champ "shortname" sur les collections

This commit is contained in:
2018-01-15 18:55:03 +01:00
parent 50f0361b91
commit a6dcad77d9
7 changed files with 81 additions and 19 deletions

View File

@ -2,15 +2,19 @@
pk: 1
fields:
name: Amiibo
shortname: Amiibo
- model: figurines.set
pk: 2
fields:
name: Disney Infinity
shortname: Infinity
- model: figurines.set
pk: 3
fields:
name: Lego Dimensions
shortname: LD
- model: figurines.set
pk: 4
fields:
name: Skylanders
name: "Skylanders Serie 1: Spyro's adventure"
shortname: Skylanders

View File

@ -0,0 +1,23 @@
# -*- coding: utf-8 -*-
# Generated by Django 1.11.9 on 2018-01-15 17:30
from __future__ import unicode_literals
from django.db import migrations
from django.db import models
class Migration(migrations.Migration):
dependencies = [
('figurines', '0001_initial'),
]
operations = [
migrations.AddField(
model_name='set',
name='shortname',
field=models.CharField(
default='TODO: Add shortname',
max_length=30,
verbose_name='shortname'), ),
]