From 16cd3639c15fd91506c6bd6313c9a51f16bff4de Mon Sep 17 00:00:00 2001 From: tkroenert Date: Sat, 9 Jun 2012 18:12:56 +0200 Subject: [PATCH] *fix: views.py: (hope it) will fix issues with sql's case-insensitives LIKE --- k4ever/main/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/k4ever/main/views.py b/k4ever/main/views.py index 5336b52..67a20fa 100644 --- a/k4ever/main/views.py +++ b/k4ever/main/views.py @@ -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."