q.page['meta'].redirect issue #938
-
In my app I have three routes. #1, #2, #3. I Basically do an elif as follows: route = q.args['#']
if route == # :
create_one(q)
elif route == #2 :
create_two(q)
elif route == #3:
create_three(q)
else:
q.page['meta'].redirect = '#1' And so this is the init client and after it gets out of these conditional evaluations The else will catch any navigations to the base url. If I don't get the httpx error right away and try to navigate to a different page through the nav, I click say view #2, and the page loads but takes me right back to the redirect specified in the else block. Then it will eventually crash with an httpx. However, if I reload the page with a refresh right after the crash, the navigation and site work completely as expected. Incredibly confused as to what is going on here... any insight would be helpful. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I should also probably mention that within each "create" function is an |
Beta Was this translation helpful? Give feedback.
I should also probably mention that within each "create" function is an
on(#1)
oron(#2)
prior to the respective "create" function.