1
0
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:
xiez
2012-08-10 21:16:55 +08:00
parent 354b1154a4
commit bfefa7df70
13 changed files with 160 additions and 28 deletions

View File

@@ -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()