1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-07-05 19:26:30 +00:00
seahub/group/models.py

14 lines
350 B
Python
Raw Normal View History

2011-09-10 12:14:08 +00:00
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")