Server balance

2021-05-15 Thread Shashank Vijendra
If suddenly Users are increased for our site our site capacity is lets take 1000 so what should i do or how to manage that site in Django plz anyone explain this -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group a

Re: why i am getting these error i dont know plz solve...

2021-05-15 Thread jatinhunter
Url name or url pattern is incorrect On Fri, 7 May 2021, 2:56 pm Kasper Laudrup, wrote: > On 07/05/2021 10.23, Phani Deep wrote: > > > > NoReverseMatch > > > > > > Reverse for 'album_detail' with arguments '('', )' not > found. 1 pattern(s) tried: ['@(?P[^/]+)/album/(?P[^/]+)/$'] > > > > This w

Re: Creating dynamic chart / graphs with Django

2021-05-15 Thread Santhosh Kumar
i too have similar requirement. I tried plotly, however the integration of django and plotly didnt go well often with huge data in sense, loading time was high and special channels setup was required. (i learnt from this video ). Currently im trying w

RuntimeError: Lock is not acquired.

2021-05-15 Thread Filbert
I see this is likely something with channels_redis, is this an indicator of a bug or redis going offline (no indication it did) ?? On Friday, May 14, 2021 at 12:23:27 PM UTC-4 Filbert wrote: > And strangely I am seeing blocks of this in the log as well here and there > from Daphne. (Ignore the

Re: Server balance

2021-05-15 Thread Thomas Lockhart
You will find a lot of useful information just by searching for “scaling Django”. Then you can ask specific questions here. hth - Tom > On May 14, 2021, at 9:29 PM, Shashank Vijendra > wrote: > > If suddenly Users are increased for our site our site capacity is lets take > 1000 > so what s

Re: Creating dynamic chart / graphs with Django

2021-05-15 Thread Thomas Lockhart
Django integration is fairly easy with Bokeh. For very large datasets you will want to also use Datashader and Holoviews so that high-density data gets rendered with meaningful interpolations. hth - Tom > On Apr 12, 2021, at 7:16 AM, Lars Liedtke wrote: > > Hey, > > this is quite good https

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

2021-05-15 Thread Boris Pérez
Hi Walter, your template is rendering the data ok, after the changes??? 2021-05-14 20:56 GMT-04:00, 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. >

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

2021-05-15 Thread Walter Randazzo
Yes Boris. It works fine now. Thanks, El sáb, 15 may 2021 a las 19:18, Boris Pérez () escribió: > Hi Walter, your template is rendering the data ok, after the changes??? > > > 2021-05-14 20:56 GMT-04:00, Walter Randazzo : > > Hi All, > > > > This is how I get this working. (Thanks to Boris f

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

2021-05-15 Thread Benny M
I feel like I missed something in this exchange. The template setup looked as though it was designed to loop though a list of dictionaries. As a result, based on the code provided, it should have produced two rows of data? Was that not the case? Benny On May 15, 2021, at 5:25 PM, Walter Randaz

Re: why i am getting these error i dont know plz solve...

2021-05-15 Thread Boris Pérez
hi, i think you are calling your view incorrectly...u need to pass 2 arguments , first: username and the album_id, then you url may be declared like thisÑ path('/album//details', views.album_details, name='album_details'), 2021-05-14 21:37 GMT-04:00, jatinhunter : > Url name or url pattern is inco

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

2021-05-15 Thread Boris Pérez
U r welcome!!! De nada amigo...saludos 2021-05-15 18:25 GMT-04:00, Walter Randazzo : > Yes Boris. It works fine now. > > Thanks, > > El sáb, 15 may 2021 a las 19:18, Boris Pérez () > escribió: > >> Hi Walter, your template is rendering the data ok, after the changes??? >> >> >> 2021-05-14 20:5

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

2021-05-15 Thread Walter Randazzo
Hi Benny M, Yes, two rows was rendered first but some fields were rendered out of the html table rows. I've modified the data structure from list of dictionaries to dictionary, and now it works fine. Thanks for your help, El sáb, 15 may 2021 a las 19:30, Benny M () escribió: > I feel like I