0006_storage.py 853 B

123456789101112131415161718192021222324252627
  1. # -*- coding: utf-8 -*-
  2. from __future__ import unicode_literals
  3. from django.db import models, migrations
  4. class Migration(migrations.Migration):
  5. dependencies = [
  6. ('hardware_provisioning', '0005_auto_20160405_1841'),
  7. ]
  8. operations = [
  9. migrations.CreateModel(
  10. name='Storage',
  11. fields=[
  12. ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
  13. ('name', models.CharField(max_length=100, verbose_name='nom')),
  14. ('notes', models.TextField(help_text='Lisible par tous les adh\xe9rents', blank=True)),
  15. ],
  16. options={
  17. 'verbose_name': 'lieu de stockage',
  18. 'verbose_name_plural': 'lieux de stockage',
  19. },
  20. bases=(models.Model,),
  21. ),
  22. ]