Re: Decorate 3rd party app's views

2012-09-21 Thread Garry Polley
Here is a more reusable way to do this: https://gist.github.com/3762045 On Friday, September 21, 2012 8:02:34 AM UTC-5, Garry Polley wrote: > > Here is an example of yet another way to do it > http://pastebin.com/JUnk4epK. I like this way because it does not > introduce too much extra code into

Re: Decorate 3rd party app's views

2012-09-21 Thread Garry Polley
Here is an example of yet another way to do it http://pastebin.com/JUnk4epK. I like this way because it does not introduce too much extra code into the codebase. I'd really like if I could just add an include function called decorated_include and pass the decorator and the urls to include to