What we want to achieve. I want to sort the movies according to their star ratings and filter the movies with lower rating than the specified threshold. 2. get the IDs of Movie and TV that are commented in the View, and get the data and score by url one by one. 3. Return it to the html and display
Tag: django-views
Django Cannot auto focus on this form but can on forms
I have a login, register and password reset pages both login and register pages auto focus on the username field however on my password reset page auto focus is not working. I have tried widget_tweaks within my template but to no avail like so: I just cannot get my head around why auto focus works on my other forms but
Multiple ChartJS scripts are not working at the same time
When I am using a Single Chart in ChartJS, it works well but whenever I use more than a Chart, only the last chart works, the others don’t longer display. I am not sure of what the problem might actually be as I have checked the console and terminal if I would get any error or so so as to
Getting seconds from a timer function to my view
I want to get the minutes and seconds from the timer in my template to my view. I already tried different approaches with an ajax.post request but it didnt really work how I wanted it to be. Here is my template: Now I want to get the minutes and seconds to my view as a POST request after clicking on