Re: [flask] facing problems with redirect.
- Malphas Wats
- 2012-06-21 @ 09:06
On Thu, Jun 21, 2012 at 9:50 AM, Mahesh Lal <firstname.lastname@example.org> wrote:
> I was trying to get a redirect working and wrote something like
> Login is a registered blueprint and can be accessed as a url.
> Please advise.
If your login() function is declared in the access_control blueprint
(for example), you would need to redirect it like this:
so Flask knows where to look.