77 lines
3.2 KiB
Python
77 lines
3.2 KiB
Python
|
# Generated by Django 2.2.4 on 2019-08-16 11:56
|
||
|
|
||
|
from django.conf import settings
|
||
|
import django.core.validators
|
||
|
from django.db import migrations, models
|
||
|
import django.db.models.deletion
|
||
|
|
||
|
|
||
|
class Migration(migrations.Migration):
|
||
|
|
||
|
dependencies = [
|
||
|
('media', '0023_auto_20190816_1349'),
|
||
|
]
|
||
|
|
||
|
operations = [
|
||
|
migrations.AlterField(
|
||
|
model_name='auteur',
|
||
|
name='name',
|
||
|
field=models.CharField(max_length=255, unique=True, verbose_name='name'),
|
||
|
),
|
||
|
migrations.AlterField(
|
||
|
model_name='emprunt',
|
||
|
name='date_emprunt',
|
||
|
field=models.DateTimeField(verbose_name='borrowed on'),
|
||
|
),
|
||
|
migrations.AlterField(
|
||
|
model_name='emprunt',
|
||
|
name='date_rendu',
|
||
|
field=models.DateTimeField(blank=True, null=True, verbose_name='given back on'),
|
||
|
),
|
||
|
migrations.AlterField(
|
||
|
model_name='emprunt',
|
||
|
name='permanencier_emprunt',
|
||
|
field=models.ForeignKey(help_text='The keyholder that registered this borrowed item.', on_delete=django.db.models.deletion.PROTECT, related_name='user_permanencier_emprunt', to=settings.AUTH_USER_MODEL, verbose_name='borrowed with'),
|
||
|
),
|
||
|
migrations.AlterField(
|
||
|
model_name='emprunt',
|
||
|
name='permanencier_rendu',
|
||
|
field=models.ForeignKey(blank=True, help_text='The keyholder to whom this item was given back.', null=True, on_delete=django.db.models.deletion.PROTECT, related_name='user_permanencier_rendu', to=settings.AUTH_USER_MODEL, verbose_name='given back to'),
|
||
|
),
|
||
|
migrations.AlterField(
|
||
|
model_name='emprunt',
|
||
|
name='user',
|
||
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to=settings.AUTH_USER_MODEL, verbose_name='borrower'),
|
||
|
),
|
||
|
migrations.AlterField(
|
||
|
model_name='jeu',
|
||
|
name='comment',
|
||
|
field=models.CharField(blank=True, max_length=255, null=True, verbose_name='comment'),
|
||
|
),
|
||
|
migrations.AlterField(
|
||
|
model_name='jeu',
|
||
|
name='duree',
|
||
|
field=models.CharField(choices=[('-1h', '-1h'), ('1-2h', '1-2h'), ('2-3h', '2-3h'), ('3-4h', '3-4h'), ('4h+', '4h+')], max_length=255, verbose_name='duration'),
|
||
|
),
|
||
|
migrations.AlterField(
|
||
|
model_name='jeu',
|
||
|
name='name',
|
||
|
field=models.CharField(max_length=255, verbose_name='name'),
|
||
|
),
|
||
|
migrations.AlterField(
|
||
|
model_name='jeu',
|
||
|
name='nombre_joueurs_max',
|
||
|
field=models.IntegerField(validators=[django.core.validators.MinValueValidator(1)], verbose_name='maximum number of players'),
|
||
|
),
|
||
|
migrations.AlterField(
|
||
|
model_name='jeu',
|
||
|
name='nombre_joueurs_min',
|
||
|
field=models.IntegerField(validators=[django.core.validators.MinValueValidator(1)], verbose_name='minimum number of players'),
|
||
|
),
|
||
|
migrations.AlterField(
|
||
|
model_name='jeu',
|
||
|
name='proprietaire',
|
||
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to=settings.AUTH_USER_MODEL, verbose_name='owner'),
|
||
|
),
|
||
|
]
|