It says *<type 'exceptions.ImportError'> cannot import name prevent_open_redirect*
under code listing it highlighted the line in red import re from gluon.admin import * from gluon.fileutils import abspath, read_file, write_file from gluon.utils import web2py_uuid *from gluon.tools import Config, prevent_open_redirect* from gluon.compileapp import find_exposed_functions from glob import glob from gluon._compat import iteritems, PY2, pickle, xrange, urlopen, to_bytes, StringIO, to_native, reload import gluon.rewrite On Sunday, June 12, 2022 at 3:02:55 AM UTC+2 snide...@gmail.com wrote: > On Saturday, June 11, 2022 at 1:11:03 AM UTC-7 mostwanted wrote: > >> I was able to resolve the problem, I reloaded the app from my >> pythonanywhere account and i was able to access my admin but i still can >> not get my callback to work as expected. Can someone please help me! What >> am i doing wrong or what do i need to do?! >> It says my web2py is upgraded to 2.22.5-stable+timestamp >> >> {{=A(company.no_of_ppadb_codes, _href='#', >> callback=URL('ppadb_codes.load', args=company.id), target="content", >> _class="show_codes")}}</strong><br /></span> >> <div id="content"></div> >> >> > > So now that you can read tickets again, what is the ticket for this one? > > /dps > > >> Regards >> On Saturday, June 11, 2022 at 9:53:55 AM UTC+2 mostwanted wrote: >> >>> I tried to upgrade my app to the latest version because the >>> callback{{=A(link, callback=URL())}} functionality kept redirecting instead >>> of calling the page to the current page div but it crushed!!!! >>> >>> When i open my admin gape i get (*Ticket issued: >>> admin/41.77.89.202.2022-06-11.07-43-03.e76169bb-1516-4236-ab3b-6ee56ffdda39 >>> <https://www.sesoa.co.bw/admin/default/ticket/admin/41.77.89.202.2022-06-11.07-43-03.e76169bb-1516-4236-ab3b-6ee56ffdda39>) >>> >>> *which does not lead me anywhere, everytime i click on it it opens >>> another page in another tab with the same ticket message, what can i do, >>> please help me!! >>> >> -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/323f74f8-c9b9-4b9a-b146-8799344dc905n%40googlegroups.com.