I don't see how
> to write the models to work with the serializers. Does anyone know of a
> tutorial that demonstrates working with nested dictionaries?
> Thank you,
> Dave E.
>
--
You received this message because you are subscribed to the Google Groups
"Django us
I use the JSON module to encode and decode JSON.
On Sunday, June 30, 2019 at 9:26:04 AM UTC-5, David Elphee wrote:
>
> I guess I don’t even need Django or models to do what I described. But
> yes, for future functionality, I’d like to be able to store JSON to a
> database.
>
--
You received
I guess I don’t even need Django or models to do what I described. But yes,
for future functionality, I’d like to be able to store JSON to a database.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop rece
*JSON
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.c
I guess I don’t even need Django or models to do what I described. But yes,
for future functionality, I’d like to be able to store Jain to a database.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop rece
Does anyone know of a
> tutorial that demonstrates working with nested dictionaries?
> Thank you,
> Dave E.
>
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, se
and I have looked at the
documentation on serializing nested data, but I don't see how to write the
models to work with the serializers. Does anyone know of a tutorial that
demonstrates working with nested dictionaries?Thank you,Dave E.
--
You received this message because you are subscribe
you are implementing logic into the templates, which django templating
attempts to prevent.
On Jun 17, 12:27 pm, Keybo <[EMAIL PROTECTED]> wrote:
> Hello,
> I have a question regarding displaying information in django
> templates. I would like to display a nested dictionary(Hash) in the
>
Hello,
I have a question regarding displaying information in django
templates. I would like to display a nested dictionary(Hash) in the
templates. However the only problem is that the values in the
dictionary are either strings or other dictionaries. If there a way of
knowing the type of va
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi Aidas,
thx for the fast help. I hope i get better with django soon, that I can
help others too.
greets
Sven
Aidas Bendoraitis wrote:
> Hi Sven!
>
> To get a value from a dictionary by a variable key, you either need a
> custom filter like {{ di
Hi Sven!
To get a value from a dictionary by a variable key, you either need a
custom filter like {{ dictionary|dict_value:key }}
def dict_value(dict, key):
""" returns the value of a dictionary key ...
"""
try:
return dict[key]
except:
return None
register.filte
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
I'm sorry that I have to ask again for help, but, I couldn't figure it
out how to access nested directories in templates.
My Problem ist, that I have 3 categories (which I get from the DB), and
for every category a queryset.
and the structure l
On 1/16/07, fiedzia <[EMAIL PROTECTED]> wrote:
Looking for a way to handle nested dicts within templates I've found
following syntax to work:
% for cat in songs.items %}
{% for author in cat.1.items %}
{% for song in author.1.items %}
...
but I
Looking for a way to handle nested dicts within templates I've found
following syntax to work:
% for cat in songs.items %}
{% for author in cat.1.items %}
{% for song in author.1.items %}
...
but I can't find any documentation for that, so the questi
14 matches
Mail list logo