0018_auto_20180819_0211.py 765 B

12345678910111213141516171819202122232425
  1. # -*- coding: utf-8 -*-
  2. from __future__ import unicode_literals
  3. from django.db import migrations, models
  4. import django.db.models.deletion
  5. from django.conf import settings
  6. class Migration(migrations.Migration):
  7. dependencies = [
  8. ('hardware_provisioning', '0017_item_deployed'),
  9. ]
  10. operations = [
  11. migrations.AlterModelOptions(
  12. name='item',
  13. options={'ordering': ['designation', 'mac_address', 'serial'], 'verbose_name': 'objet'},
  14. ),
  15. migrations.AlterField(
  16. model_name='loan',
  17. name='user',
  18. field=models.ForeignKey(related_name='loans', on_delete=django.db.models.deletion.SET_NULL, verbose_name='membre', to=settings.AUTH_USER_MODEL, null=True),
  19. ),
  20. ]