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
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
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
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
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
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,
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
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
8 matches
Mail list logo