Hi Walter, your template is rendering the data ok, after the changes???
2021-05-14 20:56 GMT-04:00, Walter Randazzo <
wwran...@gmail.com>:
> Hi All,
>
> This is how I get this working..... (Thanks to Boris for the suggestion)
> I have modified a the structure of the data from list of dictionaries to a
> dictionary.
>
> *#Now This is how the dictionary is printed in console*
>
> {'25': {'socio': 'Randazzo Walter Ariel 25', 'enero': 'P', 'febrero': 'P',
> 'marzo': 'P', 'abril': 'P', 'mayo': 'P', 'junio': 'P', 'julio': 'P',
> 'agosto': 'P', 'septiembre': 'P', 'octubre': 'P', 'noviembre': 'P',
> 'diciembre': 'P'}, '31': {'socio': 'Silvi Edgardo Marcelo 31', 'enero':
> 'P', 'febrero': 'P', 'marzo': 'P', 'abril': 'P', 'mayo': 'P', 'junio': 'P',
> 'julio': '-', 'agosto': '-', 'septiembre': '-', 'octubre': '-',
> 'noviembre': '-', 'diciembre': '-'}}
>
> *#This is how I populate the dictionary:*
>
> dictinfopagosanual[nrosocio]={'socio':soc,
> 'enero':EneroPago,
> 'febrero':FebreroPago,
> 'marzo':MarzoPago,
> 'abril':AbrilPago,
> 'mayo':MayoPago,
> 'junio':JunioPago,
> 'julio':JulioPago,
> 'agosto':AgostoPago,
> 'septiembre':SeptiembrePago,
> 'octubre':OctubrePago,
> 'noviembre':NoviembrePago,
> 'diciembre':DiciembrePago,
> }
>
> *#Then I render in the template as follow:*
>>>
https://groups.google.com/d/msgid/django-users/CAObPVPBSTCCT7M95QzC9hMARE7Fzd0gkkGtJCjQryDJChHyCKA%40mail.gmail.com
>>> .
>>>
>>
>
> --
> 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...@googlegroups.com.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/django-users/CAL7Dry6w2FfdOtT%2BG0VmnzuzXMm9eGS5dtS-MPdF4ddbPrnJ_Q%40mail.gmail.com.
>