From da92902739f33d5d39be21a06c206f63ee472461 Mon Sep 17 00:00:00 2001 From: Hidden Z Date: Wed, 10 Nov 2010 17:13:15 +0000 Subject: [PATCH] postkey/admin.py: don't require unique hash when changing host This check makes editing completely impossible. --- pyi2phosts/postkey/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyi2phosts/postkey/admin.py b/pyi2phosts/postkey/admin.py index 402f574..b3d61fe 100644 --- a/pyi2phosts/postkey/admin.py +++ b/pyi2phosts/postkey/admin.py @@ -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