Fix HR form issue, and correct the Update Access link on the user profile view

This commit is contained in:
2011-12-12 18:37:25 +00:00
parent 0bb322eb27
commit 38f1be7b35
2 changed files with 2 additions and 2 deletions

View File

@@ -67,7 +67,7 @@ class ApplicationForm(forms.Form):
access = True
break
if not access:
raise forms.ValidationError("%s requires a API key with greater access than the one you have added, please add a key with the correct access." % (corp, corp.application_config.api_accessmask))
raise forms.ValidationError("%s requires a API key with greater access than the one you have added, please add a key with the correct access." % corp)
return self.cleaned_data