Add subproject
This commit is contained in:
parent
4de362210f
commit
1c13f50c61
@ -8,4 +8,11 @@ class Project(models.Model):
|
|||||||
web = models.URLField()
|
web = models.URLField()
|
||||||
mail = models.EmailField()
|
mail = models.EmailField()
|
||||||
instructions = models.URLField()
|
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')
|
||||||
|
Loading…
Reference in New Issue
Block a user