Re: single point of entry to a webpage

2010-07-27 Thread Tim Chase
On 07/27/10 03:08, bruno desthuilliers wrote: A django *project* is composed of * one or more apps. * templates * static resources (css, images etc) ...and one or more "utils.py" files... :-) (tips his hat in the direction of JKM and makes a hasty exit...) -tkc -- You received this mess

Re: single point of entry to a webpage

2010-07-27 Thread bruno desthuilliers
On 26 juil, 18:00, owidjaya wrote: > how do i write custom template tag that is available to all my apps. > not tied to a particular app? You don't have to make your templatetags "available to all your apps" - this would make each app dependants on the others, which is exactly what you don't want

Re: single point of entry to a webpage

2010-07-26 Thread Scott Gould
I often cringe it when people trot out the "read the docs" line, but that's honestly what it comes down to in this case. An app isn't some sacred walled city. Just write a template tag, import whatever you need from whichever apps they belong to, and stick it on the page. But before you do that, r

Re: single point of entry to a webpage

2010-07-26 Thread owidjaya
how do i write custom template tag that is available to all my apps. not tied to a particular app? On Jul 26, 7:05 am, bruno desthuilliers wrote: > On 25 juil, 00:25, owidjaya wrote: > > > if i have a page with sections say the home page. It has section for > > news, it has section for blog, com

Re: single point of entry to a webpage

2010-07-26 Thread bruno desthuilliers
On 25 juil, 00:25, owidjaya wrote: > if i have a page with sections say the home page. It has section for > news, it has section for blog, comments and etc. > I have apps for every one of those section. Now how do i add the > output of the view for each of those apps on the same page? You don't

Re: single point of entry to a webpage

2010-07-24 Thread owidjaya
if i have a page with sections say the home page. It has section for news, it has section for blog, comments and etc. I have apps for every one of those section. Now how do i add the output of the view for each of those apps on the same page? On Jul 24, 1:07 pm, Dennis Kaarsemaker wrote: > On vr,

Re: single point of entry to a webpage

2010-07-24 Thread Dennis Kaarsemaker
On vr, 2010-07-23 at 12:50 -0700, owidjaya wrote: > I was thinking of creating a single point of entry to my webpage > through an app call "core" from there, depending on the url pattern, > it can pass the processing to different apps. how do i do that while > staying in the workflow of the framew

single point of entry to a webpage

2010-07-23 Thread owidjaya
Hi All, I was thinking of creating a single point of entry to my webpage through an app call "core" from there, depending on the url pattern, it can pass the processing to different apps. how do i do that while staying in the workflow of the framework? -- You received this message because you ar