Django 4.0 released

2021-12-07 Thread Mariusz Felisiak
Details are available on the Django project weblog: https://www.djangoproject.com/weblog/2021/dec/07/django-40-released/ -- 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 e

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

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: 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: 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: Django 4.0 released

2021-12-07 Thread Gerardo Palazuelos Guerrero
Thank you! — Gerardo Palazuelos Enviado desde mi iPhone > El 7 dic 2021, a la(s) 2:28, Mariusz Felisiak > escribió: > >  > Details are available on the Django project weblog: > > https://www.djangoproject.com/weblog/2021/dec/07/django-40-released/ > > -- > You received this message because

Re: Django 4.0 released

2021-12-07 Thread Noel Simela
Great stuff, On Tue, Dec 7, 2021 at 11:28 AM Mariusz Felisiak wrote: > Details are available on the Django project weblog: > > https://www.djangoproject.com/weblog/2021/dec/07/django-40-released/ > > -- > You received this message because you are subscribed to the Google Groups > "Django develop

Re: Django 4.0 released

2021-12-07 Thread kayhan
Okay, thank you. I really like open source technologies On Tue, Dec 7, 2021 at 8:00 PM Noel Simela wrote: > Great stuff, > > On Tue, Dec 7, 2021 at 11:28 AM Mariusz Felisiak < > felisiak.mari...@gmail.com> wrote: > >> Details are available on the Django project weblog: >> >> https://www.djangopr

Re: Django security releases issued: 3.2.10, 3.1.14, and 2.2.25

2021-12-07 Thread kayhan
Okay, thank you. I really like open source technologies On Tue, Dec 7, 2021 at 11:12 AM Mariusz Felisiak wrote: > Details are available on the Django project weblog: > > https://www.djangoproject.com/weblog/2021/dec/07/security-releases/ > > -- > You received this message because you are subscri

Why does sqlmigrate need a connection to an existing database?

2021-12-07 Thread Shmuel Treiger
Wondering why sqlmigrate needs a connection to an existing database. I understand that for certain commands, it needs the database to generate the migration. But for most (basic) commands, no connection is really needed. For example, I created a test project