Skip to Content
मेन्यू
This question has been flagged
1 Reply
5418 Views

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

Avatar
Discard
Best Answer

Hi,

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

Thanks..

Avatar
Discard
Related Posts Replies Views Activity
0
मार्च 15
5026
0
दिस॰ 24
1014
2
जून 23
2537
1
जन॰ 23
2692
1
मार्च 21
3272