Hi
I'm quite new to both django and python, and OOP for that matter. I do have
some embedded programming experience though.
I have a question regarding querysets and dictionaries, I think.
I was trying to build a model that provides an overview for subscribed
customers over their services and s
Hi, thanks - that provides some perspective.
So if I omitted the .get() and .values() i will have to loop over the
queryset and then each dict, doing something like:
{% for q in info %}
{% for k, v in q.items %}
{{ k }} {{ v}}
{% empty %}
As I say though, in practice that's rarely a problem as you usually want
> to reference individual fields by name, rather than iterating over them.
> --
> DR.
>
>
> On Wednesday, 18 September 2013 16:39:34 UTC+1, Johan Bergkvist wrote:
>>
>> Hi, thanks - that pro
name. It might just be me, but the documentation could seem a bit ambiguous
on this point as all field names are lower case model names.
Thanks for the help!
Den tirsdag den 17. september 2013 22.29.38 UTC+2 skrev Johan Bergkvist:
>
> Hi
> I'm quite new to both django and python, an
4 matches
Mail list logo