Hi Mae,
On Mon, 2006-08-28 at 14:53 +, Mae wrote:
> I want included-including templates to be able to act independently
> from each other. I want the including template to not have to know
> anything about the particulars of the template it's including.
>
> I want to be able to write {%incl
Hmm. Alan, your post gives me much to think about and try.
Thank you.
Mae
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To
Hi Mae,
On 8/29/06, Mae <[EMAIL PROTECTED]> wrote:
> I think what you're talking about is this paragraph from the doc:
> "Also, you can give RequestContext a list of additional processors,
> using the optional, third positional argument, processors.
Actually, I was more thinking that you could w
I want included-including templates to be able to act independently
from each other. I want the including template to not have to know
anything about the particulars of the template it's including.
I want to be able to write {%include magic_template%} and
magic_template would be a url that would
Alan,
I think what you're talking about is this paragraph from the doc:
"Also, you can give RequestContext a list of additional processors,
using the optional, third positional argument, processors. In this
example, the RequestContext instance gets a ip_address variable:
def ip_address_processor
Mae,
I think it may be because we're not sure of what you are asking for.
I know it didn't really make sense to me when I red it the first time.
What exactly are you trying to accomplish?
Corey
On Aug 25, 2006, at 10:35 AM, Mae wrote:
>
> Nobody? Is it because I asked the question wrong or
Hi Mae,
Two thoughts here:
1. Have a look at the TemplateContextProcessors:
http://www.djangoproject.com/documentation/templates_python/#subclassing-context-requestcontext
2. Custom tags aren't that hard to write.
Alan.
On 8/25/06, Mae <[EMAIL PROTECTED]> wrote:
>
> Hi all, here's my problem:
Nobody? Is it because I asked the question wrong or because there just
is no answer?
Mae
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@goog
Hi all, here's my problem:
I have a bunch of templates that look like this:
base.html:
{% block ticker %}
{ % include "ticker.html" % }
{% endblock %}
content_page1.html:
{% extends "base.html" %}
do other stuff...
content_page2.html:
{% extends "base.html" %}
do completely other stuff...
I
9 matches
Mail list logo