Re: Can't able to accept the friend request in my django website

2021-12-07 Thread Bazil M H
Please format your question correctly so that someone can understand that. Then only people can answer your question. On Friday, 3 December 2021 at 05:57:22 UTC+5:30 Kasper Laudrup wrote: > https://www.propublica.org/nerds/how-to-ask-programming-questions > -- You received this message because

Re: class based view Type error

2021-12-07 Thread Bazil M H
Have you changed the urls.py file accordingly? On Thursday, 18 November 2021 at 09:02:55 UTC+5:30 Trippy Samurai wrote: > Hello, > I have my function based writted like this > > > @login_required > def accept_tickets_view(request,pk): > ticket = get_object_or_404(Ticket,id=pk) > if ticket.status

Re: Mouse movement detection and processing from client UI

2021-12-07 Thread Bazil M H
Mouse clicks are client side actions. You need javascript to get that data. One solution maybe capturing the mouse clicks at the client side via javascript and sending the data as JSON to your backend by AJAX. Just a suggestion. On Thursday, 28 October 2021 at 11:24:39 UTC+5:30 Derek wrote: >

Re: Display api in particular format

2021-12-07 Thread Bazil M H
Can you make the image an attachment ? Cant see anything on your image. On Saturday, 27 November 2021 at 23:00:41 UTC+5:30 Sapna Agrahari wrote: > Can anyone please help me with this? As I want to display the api data in > this format. > [image: image.png] > > Thanks and

Re: How to update part of a JSONField with a computed value?

2021-12-07 Thread Bazil M H
Use the inbuilt *json* library in python. Use json.dumps and json.loads to convert the dictionary to json and vice versa. On Thursday, 5 August 2021 at 04:17:38 UTC+5:30 shahee...@gmail.com wrote: > Hi, > > I'm using Django 3.2 on Postgres12, and I have a model with a JSONField > which contains a