1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-09 10:50:24 +00:00

added file-star feature(by ls & lj)

This commit is contained in:
llj
2012-10-26 19:50:36 +08:00
parent 0106d08911
commit 6baebcd97f
11 changed files with 292 additions and 36 deletions

View File

@@ -149,3 +149,15 @@ def innerpubmsg_reply_added_cb(sender, instance, **kwargs):
detail=msg_id)
n.save()
class UserStarredFiles(models.Model):
"""Starred files are marked by users to get quick access to it on user
home page.
"""
email = models.EmailField()
org_id = models.IntegerField()
repo_id = models.CharField(max_length=36)
path = models.TextField()
is_dir = models.BooleanField()