*fix: views.py: (hope it) will fix issues with sql's case-insensitives LIKE

This commit is contained in:
tkroenert 2012-06-09 18:12:56 +02:00
parent d04135c74c
commit 16cd3639c1
1 changed files with 1 additions and 1 deletions

View File

@ -153,7 +153,7 @@ def pluginAuthblob(request, pluginId):
return render_to_response("settings/settings.html", d, RequestContext(request))
# check, if this is equal to the old users plugin
pluginsWithAuthblob = PluginPermission.objects.filter(plugin=plugin, user=request.user, authblob=authblob)
pluginsWithAuthblob = PluginPermission.objects.filter(plugin=plugin, user=request.user, authblob__exact=authblob)
if pluginsWithAuthblob.count() > 0:
d = getPluginDict(request)
d['pluginerror'] = "Das ist der gleiche Authblob, den du vorher auch hattest."