Commit 28a384c1 authored by 段英荣's avatar 段英荣

modify view

parent c4b2b9d1
......@@ -25,7 +25,6 @@ def auto_complete(request):
{'error': 0|1, 'data': [word, word, word],}
"""
logging.info("duan add,q is:%s" % str(q).encode("utf-8"))
q = request.GET.get('q', '').strip()
logging.info("duan add,q is:%s" % str(q).encode("utf-8"))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment