Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
5501 Vistas

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
Descartar
Mejor respuesta

Hi,

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

Thanks..

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
0
mar 15
5102
0
dic 24
1098
2
jun 23
2628
1
ene 23
2769
1
mar 21
3341