On Feb 19, 2009, at 10:51 AM, Jonathan Vanasco wrote:
thanks ben! its just so confusing how the find_controller works.
It is? What part of it did you find confusing? I thought there were a good amount of comments on any section that might be confusing. I'd be happy to explain it further if there was a part that was confusing.
looking at my code, I have a controller named PreviewController in controllers/preview.py .. and its very awkward looking back at code and thinking """ok controler="preview" means look in preview for some controller... oh look there's one called PreviewController""" i should probably do a subclass that just uses the real controller name or something similar. i'm uncomfortable with the thought of it possibly grabbing from another class in that package
Should be pretty easy to setup however you decide. I could provide an example if you mentioned exactly how you'd like it to find the controller.
Cheers, Ben
smime.p7s
Description: S/MIME cryptographic signature
