*fix: views.py: (hope it) will fix issues with sql's case-insensitives LIKE
This commit is contained in:
parent
d04135c74c
commit
16cd3639c1
|
@ -153,7 +153,7 @@ def pluginAuthblob(request, pluginId):
|
||||||
return render_to_response("settings/settings.html", d, RequestContext(request))
|
return render_to_response("settings/settings.html", d, RequestContext(request))
|
||||||
|
|
||||||
# check, if this is equal to the old users plugin
|
# 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:
|
if pluginsWithAuthblob.count() > 0:
|
||||||
d = getPluginDict(request)
|
d = getPluginDict(request)
|
||||||
d['pluginerror'] = "Das ist der gleiche Authblob, den du vorher auch hattest."
|
d['pluginerror'] = "Das ist der gleiche Authblob, den du vorher auch hattest."
|
||||||
|
|
Loading…
Reference in New Issue