field=models.ForeignKey(default=0,help_text='The user, who create the image',on_delete=django.db.models.deletion.DO_NOTHING,related_name='created_images',to=settings.AUTH_USER_MODEL),
preserve_default=False,
),
migrations.AddField(
model_name='image',
name='uploaded_by_user',
field=models.BooleanField(default=True,editable=False,help_text='The field is false if the image created from instance'),
field=models.ForeignKey(help_text='Reasources given to the vm',on_delete='CASCADE',related_name='instances',to='instance.Flavor',verbose_name='flavor'),
('disk',models.ForeignKey(help_text='The disk where the template is located.',on_delete=django.db.models.deletion.CASCADE,related_name='templates',to='image.Disk')),
field=models.ForeignKey(help_text='The user, who create the template',on_delete=django.db.models.deletion.DO_NOTHING,related_name='created_templates',to=settings.AUTH_USER_MODEL),
field=models.ForeignKey(default=1,help_text='Reasources given to the vm',on_delete='CASCADE',related_name='templates',to='instance.Flavor',verbose_name='flavor'),
field=models.CharField(choices=[('U','User create the template from image'),('I','Template created from instance'),('D','Default "Pure" template')],default='I',max_length=10),
field=models.CharField(choices=[('U','User create the template from image'),('I','Template created from instance'),('P','"Pure" template')],default='U',max_length=10),