mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-01 15:09:14 +00:00
Fix bug
This commit is contained in:
@@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user