Re: Dictionary not rendering in a html table in a Template

2021-05-14 Thread Walter Randazzo
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

Re: Dictionary not rendering in a html table in a Template

2021-05-14 Thread Walter Randazzo
Hi Boris, You're right it is a list of dictionaries. I thought that the template is not able to render the data structure I used. I will take a look on the link,thanks for the advice. Gracias Boris, El vie, 14 may 2021 a las 17:18, Boris Pérez () escribió: > Hi Walter, i think the matter is

Re: Dictionary not rendering in a html table in a Template

2021-05-14 Thread Boris Pérez
Hi Walter, i think the matter is that your dictionary, is not a dictionary, is a list of dictionaries (it looks more than json object) perhaps u wanna use jquery and ajax, into your template... Maybe this link is usefull to u https://stackoverflow.com/questions/51209582/django-dictionary-to-html-

Re: Dictionary not rendering in a html table in a Template

2021-05-14 Thread Walter Randazzo
Hi Boris, Thanks for the reply. Here is the code: View: http://del.dog/mavihosuna Template: https://del.dog/mirfanelor Image of the rendered Template: https://tmpsee.com/v/nbkdqhnxee Regards, El vie, 14 may 2021 a las 11:57, Boris Pérez () escribió: > Where is the code, that u are using

Re: Channels issue under load

2021-05-14 Thread Filbert
And strangely I am seeing blocks of this in the log as well here and there from Daphne. (Ignore the XX). XX.240.122.161:443 - - [14/May/2021:13:36:09] "WSCONNECTING /ws/" - - XX.240.122.161:443 - - [14/May/2021:13:36:09] "WSCONNECT /ws/" - - XX7.0.61.54:443 - - [14/May/2021:13:37:50] "WSCONNECTI

Re: Dictionary not rendering in a html table in a Template

2021-05-14 Thread Boris Pérez
Where is the code, that u are using... Si quieres igual hablamos en español... Saludos... 2021-05-13 22:03 GMT-04:00, Walter Randazzo : > Hi Gabriel, > > I´ve just share the code via snippet to respect the identation of the code > > > El jue, 13 may 2021 a las 21:47, Gabriel Araya Garcia (< > gabr

How to validate data after the deletion of an inline instance ?

2021-05-14 Thread Serge Alard
Hello I am using a formset to validate inline forms in django administration. To validate my data I am using the method clean() but when I delete an inline object the data are validated before the deletion. How can I validate my data after the deletion ? How can I know that my inline object is