Thanks!
On Jan 17, 12:00 pm, Tim Black <[email protected]> wrote: > Andy Bierman wrote: > > How do I run Catwalk within a password-protected page > > in my TG1 app? I understand the identity part, but not > > clear how to makehttp://localhost:7654/catwalkbe accessible > > behind Apache, or just run catwalk directly. Is this way > > easier with mod_wsgi deployment, rather than reverse > > proxy behind Apache? I need to run HTTPS on this site. > > I'm not sure about running behind Apache or HTTPS, but here's how it > works in my app: > > from turbogears.toolbox.catwalk import CatWalk > > ... > > class Root(controllers.RootController): > catwalk=CatWalk(model) > catwalk = identity.SecureObject(catwalk,identity.in_group('admin')) > > That's it! > > Tim Black --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

