1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-06-01 03:25:39 +00:00
seahub/group/forms.py

18 lines
399 B
Python
Raw Normal View History

2012-07-11 07:13:59 +00:00
import os
2012-06-25 06:57:14 +00:00
from django import forms
class MessageForm(forms.Form):
2012-08-10 13:20:01 +00:00
message = forms.CharField(max_length=500)
2012-06-25 06:57:14 +00:00
2012-06-27 03:27:00 +00:00
class MessageReplyForm(forms.Form):
message = forms.CharField(max_length=150)
2012-07-11 07:13:59 +00:00
2012-08-10 13:16:55 +00:00
class FileRecommendForm(MessageForm):
"""
A form used to recommend a file.
"""
groups = forms.CharField()
repo_id = forms.CharField(max_length=40)
file_path = forms.CharField()