1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-01 15:09:14 +00:00
This commit is contained in:
plt
2012-08-26 17:29:29 +08:00
parent 37c0f934bc
commit 6d9854eb8a
2 changed files with 2 additions and 2 deletions

View File

@@ -31,7 +31,7 @@ class MessageAttachment(models.Model):
repo_id = models.CharField(max_length=40)
attach_type = models.CharField(max_length=5) # `file` or `dir`
path = models.TextField()
src = models.TextField(max_length=20) # `recommend` or `filecomment`
src = models.CharField(max_length=20) # `recommend` or `filecomment`
at_pattern = re.compile(r'(\s|^)(@\w+)', flags=re.U)