1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-01 23:20:51 +00:00

Update group unit test

This commit is contained in:
xiez
2012-08-11 00:03:59 +08:00
parent f15fecdcf1
commit acf221aece
3 changed files with 29 additions and 5 deletions

View File

@@ -25,14 +25,11 @@ class MessageReply(models.Model):
class MessageAttachment(models.Model):
"""
A model used to represents a file attachment related to a group message.
"""
group_message = models.ForeignKey(GroupMessage)
repo_id = models.CharField(max_length=40)
file_path = models.TextField()
at_pattern = re.compile(r'(\s|^)(@\w+)', flags=re.U)