On Tue, Sep 18, 2012 at 12:12 PM, Satinderpal Singh
wrote:
>> With template 'inheritance', when you extend another template, what
>> happens is that the named blocks in the parent template are replaced
>> with the equivalently named blocks in the derived template.
>>
>> This means that in the deri
On Tue, Sep 18, 2012 at 3:45 PM, Tom Evans wrote:
> On Mon, Sep 17, 2012 at 8:14 AM, Satinderpal Singh
> wrote:
>> I want to extend a template file into the other file. I get fine
>> results when done simply but whenever I use the template containing
>> 'for' tag into the other, it does not show
> With template 'inheritance', when you extend another template, what
> happens is that the named blocks in the parent template are replaced
> with the equivalently named blocks in the derived template.
>
> This means that in the derived template, everything outside of a named
> block is ignored. Y
On Mon, Sep 17, 2012 at 8:14 AM, Satinderpal Singh
wrote:
> I want to extend a template file into the other file. I get fine
> results when done simply but whenever I use the template containing
> 'for' tag into the other, it does not show any results.
> My code for template which is to be extende
On Mon, Sep 17, 2012 at 5:58 PM, Satinderpal Singh
wrote:
> On Mon, Sep 17, 2012 at 7:31 PM, jondykeman wrote:
>> Can you put the code of the template you are extending this one with?
> Here is the file that is extending:
>
> {% extends "report/report_header.html" %}
> {% load i18n %}
>
>
> {%
On Tue, Sep 18, 2012 at 9:45 AM, jondykeman wrote:
> So the header for loop is the one that is not working?
Yes, you are right.
> Is organisation being fed to the view properly?
Yes, it fed properly, as i checked it by making a template for the
organisation view, it correctly fetch values from th
So the header for loop is the one that is not working?
Is organisation being fed to the view properly?
If you put in {{ organisation }} in the section that is rendering properly
is it showing up as you expect?
JD
On Monday, September 17, 2012 10:59:16 AM UTC-6, Satinder Goraya wrote:
>
> On Mo
On Mon, Sep 17, 2012 at 7:31 PM, jondykeman wrote:
> Can you put the code of the template you are extending this one with?
Here is the file that is extending:
{% extends "report/report_header.html" %}
{% load i18n %}
{% block content %}
Date of testing :{{Date_of_test
Can you put the code of the template you are extending this one with?
What I would guess from what you said is that you might be using {% block
head %} {% endblock %} in the other template that extends this one.
In that case you would override that for loop. If you want to add to the
head and a
I want to extend a template file into the other file. I get fine
results when done simply but whenever I use the template containing
'for' tag into the other, it does not show any results.
My code for template which is to be extended is here :
#template file to be extended into the other
{% bloc
Ok, I found it, {{ original.image }}
:-)
--~--~-~--~~~---~--~~
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 unsubscribe from this group, send e
Hi,
I want to extend default template for /admin/photosite/photo/some_id/.
Basically, I want to display, only when editing, a thumbnail of the
photo with JCrop widget for cropping. How can I access the 'image'
field of the edited record? I think I need not to write a custom view
here, since I onl
12 matches
Mail list logo