Hello! I have that page: https://oas.timacad.ru/application. default.py:
*def index(): interval = db().select(db.t_admission_schedule.BEGINNING,db.t_admission_schedule.END_APP,orderby=~db.t_admission_schedule.END_APP).first() if ((datetime.datetime.now().date()>=interval.BEGINNING) & (datetime.datetime.now().date()<interval.END_APP)) ... else: text = DIV( XML('<h4 class="text-center" style="text-transform:uppercase">До старта приёмной кампании осталось:</h4>') ) delta = datetime.datetime(interval.BEGINNING.year,interval.BEGINNING.month,interval.BEGINNING.day,0,0) - datetime.datetime.now() seconds = delta.total_seconds() return dict(text=text,seconds=seconds)* Can you take advice, how blocked and unblock all pages for controller bak.py for users cant see pages like https://oas.timacad.ru/application/ *bak*/swed and see page with 403 error? -- 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/d2619a63-6378-4818-91b6-5168786c5684%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.