diff --git a/equipment/migrations/0010_auto_20180809_1211.py b/equipment/migrations/0010_auto_20180809_1211.py new file mode 100644 index 0000000..e8acc43 --- /dev/null +++ b/equipment/migrations/0010_auto_20180809_1211.py @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.11.11 on 2018-08-09 12:11 +from __future__ import unicode_literals + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('equipment', '0009_auto_20180809_1200'), + ] + + operations = [ + migrations.AlterField( + model_name='equipment', + name='stock', + field=models.PositiveSmallIntegerField(verbose_name='quantité totale'), + ), + ] diff --git a/equipment/models.py b/equipment/models.py index 11aa3b1..4d86c33 100644 --- a/equipment/models.py +++ b/equipment/models.py @@ -36,7 +36,7 @@ class Equipment(EventSpecificMixin, models.Model): _("nom du matériel"), max_length=200, ) - stock = models.PositiveSmallIntegerField(_("quantité disponible")) + stock = models.PositiveSmallIntegerField(_("quantité totale")) description = models.TextField(_("description")) activities = models.ManyToManyField( Activity,