1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-06-26 15:12:32 +00:00
seahub/group/forms.py
2011-09-10 20:14:08 +08:00

16 lines
303 B
Python

from django import forms
from models import GroupRepo
class GroupAddRepoForm(forms.Form):
"""
Form for adding repo to a group.
"""
repo_id = forms.CharField(max_length=36)
def __init__(self, *args, **kwargs):
super(GroupAddRepoForm, self).__init__(*args, **kwargs)