-
-class Book(models.Model):
- class Meta:
- permissions = (
- ("can_add_files", "Can do hg add."),
- )
- abstract=True
- pass
-
-
-class PullRequest(models.Model):
- comitter = models.ForeignKey(User) # the user who request the pull
- file = models.CharField(max_length=256) # the file to request
- source_rev = models.CharField(max_length=40) # revision number of the commiter
-
- comment = models.TextField() # addtional comments to the request