We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f095641 commit f665cc4Copy full SHA for f665cc4
geonode/services/forms.py
@@ -99,11 +99,11 @@ def clean(self):
99
100
def clean_username(self):
101
# the form return empty string, we want None if is not provided
102
- return self.cleaned_data['username'] or None
+ return self.cleaned_data["username"] or None
103
104
def clean_password(self):
105
106
- return self.cleaned_data['password'] or None
+ return self.cleaned_data["password"] or None
107
108
109
class ServiceForm(forms.ModelForm):
0 commit comments