Temporarily commented out auth

This commit is contained in:
Sebastian Lohff 2017-04-15 17:04:35 +02:00
parent 969a503636
commit 9ce85584c2
2 changed files with 3 additions and 1 deletions

View File

@ -94,7 +94,8 @@ class MntFormMixin(object):
class MntForm(WhoisObjectFormMixin, forms.ModelForm):
class Meta:
model = Maintainer
fields = ['handle', 'description', 'admin_c', 'auth']
#fields = ['handle', 'description', 'admin_c', 'auth']
fields = ['handle', 'description', 'admin_c']
widgets = {'auth': MultiTextInput()}
help_texts = {

View File

@ -98,6 +98,7 @@ class MaintainerCreate(LoginRequiredMixin, CreateView):
kwargs["user"] = self.request.user
kwargs["initial"] = {
"handle": "AUTO",
#"auth": self.request.user.username,
}
return kwargs