1
0
mirror of https://github.com/r4sas/py-i2phosts synced 2025-01-22 20:44:55 +00:00

postkey/admin.py: don't require unique hash when changing host

This check makes editing completely impossible.
This commit is contained in:
Hidden Z 2010-11-10 17:13:15 +00:00
parent ffa053e1d3
commit da92902739

View File

@ -22,7 +22,7 @@ class i2phostAdminForm(forms.ModelForm):
def clean_b64hash(self):
"""Validate base64 hash"""
data = self.cleaned_data['b64hash']
data = validate_b64hash(data)
data = validate_b64hash(data, check_uniq=False)
return data