Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
5556 Vues

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
Ignorer
Meilleure réponse

Hi,

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

Thanks..

Avatar
Ignorer
Publications associées Réponses Vues Activité
0
mars 15
5137
0
déc. 24
1185
2
juin 23
2698
1
janv. 23
2826
1
mars 21
3440