add commit_id to Package

This commit is contained in:
Laura Klünder 2016-09-13 18:22:44 +02:00
parent 30e8204055
commit 8d2e18c890
4 changed files with 33 additions and 1 deletions

View file

@ -12,6 +12,7 @@ class Package(models.Model):
help_text=_('e.g. de.c3nav.33c3.base'))
depends = models.ManyToManyField('Package')
home_repo = models.URLField(_('URL to the home git repository'), null=True)
commit_id = models.CharField(_('current commit id'), max_length=40, null=True)
bottom = models.DecimalField(_('bottom coordinate'), null=True, max_digits=6, decimal_places=2)
left = models.DecimalField(_('left coordinate'), null=True, max_digits=6, decimal_places=2)