Commit 1c13f50c authored by Michal Čihař's avatar Michal Čihař

Add subproject

parent 4de36221
......@@ -8,4 +8,11 @@ class Project(models.Model):
web = models.URLField()
mail = models.EmailField()
instructions = models.URLField()
gitrepo = models.CharField(max_length = 200)
class SubProject(models.Model):
name = models.CharField(max_length = 100)
slug = models.SlugField(db_index = True)
project = models.ForeignKey(Project)
repo = models.CharField(max_length = 200)
branch = models.CharField(max_length = 50)
propagate = models.ForeignKey('self')
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment