mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-02 23:48:47 +00:00
Add group app
This commit is contained in:
15
group/forms.py
Normal file
15
group/forms.py
Normal file
@@ -0,0 +1,15 @@
|
||||
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)
|
||||
|
Reference in New Issue
Block a user