1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-07-05 11:17:36 +00:00
seahub/group/models.py
2011-09-10 20:14:08 +08:00

14 lines
350 B
Python

from django.db import models
# Create your models here.
class GroupRepo(models.Model):
"""A repo shared to a group."""
group_id = models.CharField(max_length=36)
repo_id = models.CharField(max_length=36)
repo_location = models.CharField(max_length=40, blank=True)
class Meta:
unique_together = ("group_id", "repo_id")