Ir al contenido
Menú
Se marcó esta pregunta

I am tring  to inherit HttpRequest class and override disptch method , so i did the following :

from openerp.addons import web

class my_httprequest(web.http.HttpRequest):
    
    def dispatch(self, method):

        # new code 

 

however the original dispatch method is still being executed 

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
1
jul 18
7341
4
feb 25
3261
1
ago 24
2480
2
nov 24
3760
3
oct 23
15204