跳至內容
選單
此問題已被標幟
1 回覆
5476 瀏覽次數

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
5077
0
12月 24
1046
2
6月 23
2598
1
1月 23
2755
1
3月 21
3322