1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-06-27 07:28:42 +00:00
seahub/group/forms.py

16 lines
303 B
Python
Raw Normal View History

2011-09-10 12:14:08 +00:00
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)