On Jul 30, 7:42 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
>
>
>
try to pprint the variables you pass the template directly in the view
fonction they will appear in the console if you use the django dev
server :)
--~--~-~--~~~---~--~~
You received
Welcome !
On Jul 30, 2:01 pm, "Peter Melvyn" <[EMAIL PROTECTED]> wrote:
> On 7/30/07, Russell Keith-Magee <[EMAIL PROTECTED]> wrote:
>
> > Try {% debug %}
>
> If you mentioned this feature: is there an easy way to reformat {%
> debug %} output the same/similiar way an exception error is
On 7/30/07, Peter Melvyn <[EMAIL PROTECTED]> wrote:
>
> On 7/30/07, Russell Keith-Magee <[EMAIL PROTECTED]> wrote:
>
> > Try {% debug %}
>
> If you mentioned this feature: is there an easy way to reformat {%
> debug %} output the same/similiar way an exception error is reported?
Not easily. {%
On 7/30/07, Russell Keith-Magee <[EMAIL PROTECTED]> wrote:
> Try {% debug %}
If you mentioned this feature: is there an easy way to reformat {%
debug %} output the same/similiar way an exception error is reported?
Peter
--~--~-~--~~~---~--~~
You received this
Russell Keith-Magee escribió:
> On 7/30/07, Chris Hoeppner <[EMAIL PROTECTED]> wrote:
>
>> I didn't know of that function. Nice to know. But, is there a var where
>> to access *all* the vars available in the template and it's contents?
>> I've been needing that one for debugging for ever!
>>
On 7/30/07, Chris Hoeppner <[EMAIL PROTECTED]> wrote:
>
> I didn't know of that function. Nice to know. But, is there a var where
> to access *all* the vars available in the template and it's contents?
> I've been needing that one for debugging for ever!
Try {% debug %}
Nathan Ostgard escribió:
> Try: {{ data|pprint }}
>
> On Jul 29, 10:42 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
>
>> I'm coming from CakePHP and I would typically set a variable for use
>> in my view with a call to findAll. Since there is a lot of data in the
>> array, I typically do
Try: {{ data|pprint }}
On Jul 29, 10:42 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> I'm coming from CakePHP and I would typically set a variable for use
> in my view with a call to findAll. Since there is a lot of data in the
> array, I typically do something like:
>
>
>
>
>
> This
I'm coming from CakePHP and I would typically set a variable for use
in my view with a call to findAll. Since there is a lot of data in the
array, I typically do something like:
This way, I can find out what data is available in the view and figure
out how much I can scale back the
9 matches
Mail list logo