[library-web] New django release adjustments
- From: Andrea Veri <averi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [library-web] New django release adjustments
- Date: Wed, 19 Feb 2020 12:16:15 +0000 (UTC)
commit 4e1d410d72554ed6a49d989a22c5fe8b32c22588
Author: Andrea Veri <av gnome org>
Date: Wed Feb 19 12:16:08 2020 +0000
New django release adjustments
web/api.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/web/api.py b/web/api.py
index 18b3538..32f3450 100644
--- a/web/api.py
+++ b/web/api.py
@@ -51,7 +51,7 @@ def lookup(request):
def redirect(request):
try:
- symbol = request.REQUEST['q']
+ symbol = request.GET['QUERY_STRING']
except KeyError:
return HttpResponseRedirect('/')
if isinstance(symbol, unicode):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]