brubeck
brubeck copied to clipboard
Added Nested Url support.
I like to be able to organize certain projects into smaller modules (similar to how Django does it). This will let others do it as well. It's done by simply making the kallable of a tuple be another list of tuples.
This is a neat idea. Would you mind sharing a sample of what your projects then look like?
Absolutely. I'm writing some productivity software (read: project management plus more), and want the user to be able to simply add, replace or remove whole chunks of functionality. I've set up a little demo repo to illustrate what how I intend on organizing it. I still need to look into handling hooks, and how Jinja2 deals with template directories (as I want to have template overrides).
Here's the code: https://github.com/MisterPoppet/demo_nested_urls
This is awesome!
I will merge this in the next day or two.
On Wednesday, May 30, 2012 at 11:01 PM, Bryan Redeagle wrote:
Absolutely. I'm writing some productivity software (read: project management plus more), and want the user to be able to simply add, replace or remove whole chunks of functionality. I've set up a little demo repo to illustrate what how I intend on organizing it. I still need to look into handling hooks, and how Jinja2 deals with template directories (as I want to have template overrides).
Here's the code: https://github.com/MisterPoppet/demo_nested_urls
Reply to this email directly or view it on GitHub: https://github.com/j2labs/brubeck/pull/75#issuecomment-6026871