| Siobhan Tully | 4bc09f2 | 2013-04-10 21:15:21 -0400 | [diff] [blame] | 1 | import os |
| 2 | from django.db import models | ||||
| 3 | from plstackapi.core.models import PlCoreBase | ||||
| 4 | |||||
| 5 | # Create your models here. | ||||
| 6 | |||||
| 7 | class 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) | ||||