mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-06 01:12:03 +00:00
Add basic recommend feature
This commit is contained in:
@@ -3,8 +3,15 @@ import os
|
||||
from django import forms
|
||||
|
||||
class MessageForm(forms.Form):
|
||||
message = forms.CharField(max_length=500)
|
||||
message = forms.CharField(max_length=5)
|
||||
|
||||
class MessageReplyForm(forms.Form):
|
||||
message = forms.CharField(max_length=150)
|
||||
|
||||
class FileRecommendForm(MessageForm):
|
||||
"""
|
||||
A form used to recommend a file.
|
||||
"""
|
||||
groups = forms.CharField()
|
||||
repo_id = forms.CharField(max_length=40)
|
||||
file_path = forms.CharField()
|
||||
|
Reference in New Issue
Block a user