Hello,
I'm still trying to integrate routes into my project but fail to get it
work with Identity.
I don't even get it running for a quickstart project with Identity. As
soon as I try to access (while begin logged out) a page protected by
identity I don't get redirected to the login page and instead tg seems
to get stuck in a loop.
The steps I tried to get routes integrated:
- start a project with quickstart (Identity enabled)
- edit controllers.py
- copy&paste the code from
http://docs.turbogears.org/1.0/RoutesIntegration
(including the modifcation from the comment)
- rename the old Root class to Main
- use "m.connect(':action', controller='main', action='index')" as
the only routes configuration for now
When I start this project I can access the index page and the login
page. But when I change now controllers.py and enable Identity for index
(it's commented out by default), I can't access the index page anymore.
What I'm doing wrong?
TIA,
Michael
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---