On Friday, November 30, 2012 9:22:08 PM UTC-8, Satinderpal Singh wrote:
>
> On Sat, Dec 1, 2012 at 4:45 AM, Chris Cogdon >
> wrote:
> > It's generally very messy for one "view" function to call another.
> Then what is the fun of making the function, if it is not reusable.
> >
> > Better solu
On Sat, Dec 1, 2012 at 4:45 AM, Chris Cogdon wrote:
> It's generally very messy for one "view" function to call another.
Then what is the fun of making the function, if it is not reusable.
>
> Better solution is to factorise out the common parts into a third function,
> then make sure each of your
It's generally very messy for one "view" function to call another.
Better solution is to factorise out the common parts into a third function,
then make sure each of your two "view" functions have the required
render_to_response.
Also, I highly recommend using the "render" shortcut, which would
3 matches
Mail list logo