mirror of
https://github.com/haiwen/seahub.git
synced 2025-06-26 07:02:11 +00:00
18 lines
399 B
Python
18 lines
399 B
Python
import os
|
|
|
|
from django import forms
|
|
|
|
class MessageForm(forms.Form):
|
|
message = forms.CharField(max_length=500)
|
|
|
|
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()
|