1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-06 17:33:18 +00:00

[useradmin] improved user-add, set/revoke admin, user-delete

This commit is contained in:
llj
2013-04-23 10:25:44 +08:00
parent e5ddc4bd07
commit 08e1ab63aa
6 changed files with 268 additions and 181 deletions

View File

@@ -40,14 +40,6 @@ class AddUserForm(forms.Form):
raise forms.ValidationError(_("The two password fields didn't match."))
return self.cleaned_data
class FileCommentForm(forms.Form):
"""
Form for leave comments on file.
"""
repo_id = forms.CharField(max_length=36)
file_path = forms.CharField()
message = forms.CharField()
class RepoCreateForm(forms.Form):
"""
Form for creating repo and org repo.