跳至内容
菜单
此问题已终结
1 回复
5437 查看

Hi , All

I Tried To Get Query String From The URL But It Return Me {} Empty This Is The URL localhost:8069/#id=6&view_type=form&model=purchase.order&action=523

I Tried Inside my Developed controllers > main.py

The Code Like That

wsgienv = req.httprequest.environ URL=wsgienv['HTTP_REFERER'] Query_String = dict(urlparse.parse_qsl(URL))

It Works the First Time After That It Didn't Work Again

So Please Any Help Me

形象
丢弃
最佳答案

Hi,

Have you tried with , query = dict(urlparse.parse_qsl(req.httprequest.query_string, keep_blank_values=True))

Thanks..

形象
丢弃
相关帖文 回复 查看 活动
0
3月 15
5042
0
12月 24
1020
2
6月 23
2548
1
1月 23
2718
1
3月 21
3283