Temporarily commented out auth
This commit is contained in:
parent
969a503636
commit
9ce85584c2
|
@ -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 = {
|
||||
|
|
|
@ -98,6 +98,7 @@ class MaintainerCreate(LoginRequiredMixin, CreateView):
|
|||
kwargs["user"] = self.request.user
|
||||
kwargs["initial"] = {
|
||||
"handle": "AUTO",
|
||||
#"auth": self.request.user.username,
|
||||
}
|
||||
|
||||
return kwargs
|
||||
|
|
Loading…
Reference in New Issue