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:
8
forms.py
8
forms.py
@@ -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.
|
||||
|
Reference in New Issue
Block a user