Closed deeplearning987 closed 3 years ago
hello @TangleSpace can you please suggest me what are the changes to be made?
look at the example code, that EXACT same code is what the live demo is running, it works perfectly. If you can't follow the code, I'm not here to teach you to program.
Hello @TangleSpace
I've made changes to your code. I just included the database connectivity to save the username and password.
I'm trying to redirect from Signup App to Login App.
I've read in hydralit(app_template) that if nothing is mentioned in self.do_redirect() present in def _do_signup(self, form_data, msg_container) -> None: then it will be redirected to homepage by default.
But I've mentioned (apps.login_app) in self.do_redirect(apps.login_app) which is in init.py file. I've also mentioned login_app in self.do_redirect(login_app) but it is still redirecting to home page.
hydralit(app_template)
def do_redirect(self,redirect_target_app=None): """ Used to redirect to another app within the parent application. If the redirect_target is a valid url, a new window will open and the browser will set focus on the new window while leaving this app in it's current state.
Signup app code:
def _create_signup_form(self, parent_container) -> Dict:
Can you please guide me.