blob: b4803e2a0ca93351fc43366b9e873b4c75bb4d39 [file] [log] [blame]
Siobhan Tully4bc09f22013-04-10 21:15:21 -04001import os
2from django.db import models
Siobhan Tully30fd4292013-05-10 08:59:56 -04003from core.models import PlCoreBase
Siobhan Tully4bc09f22013-04-10 21:15:21 -04004
5# Create your models here.
6
7class Image(PlCoreBase):
8 image_id = models.CharField(max_length=256, unique=True)
9 name = models.CharField(max_length=256, unique=True)
10 disk_format = models.CharField(max_length=256)
11 container_format = models.CharField(max_length=256)
12
13 def __unicode__(self): return u'%s' % (self.name)