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 MntForm(WhoisObjectFormMixin, forms.ModelForm):
|
||||||
class Meta:
|
class Meta:
|
||||||
model = Maintainer
|
model = Maintainer
|
||||||
fields = ['handle', 'description', 'admin_c', 'auth']
|
#fields = ['handle', 'description', 'admin_c', 'auth']
|
||||||
|
fields = ['handle', 'description', 'admin_c']
|
||||||
widgets = {'auth': MultiTextInput()}
|
widgets = {'auth': MultiTextInput()}
|
||||||
|
|
||||||
help_texts = {
|
help_texts = {
|
||||||
|
|
|
@ -98,6 +98,7 @@ class MaintainerCreate(LoginRequiredMixin, CreateView):
|
||||||
kwargs["user"] = self.request.user
|
kwargs["user"] = self.request.user
|
||||||
kwargs["initial"] = {
|
kwargs["initial"] = {
|
||||||
"handle": "AUTO",
|
"handle": "AUTO",
|
||||||
|
#"auth": self.request.user.username,
|
||||||
}
|
}
|
||||||
|
|
||||||
return kwargs
|
return kwargs
|
||||||
|
|
Loading…
Reference in New Issue