Re: Upgrading Django from 3.2.16 to 4.1.x

2023-01-17 Thread Christian Ledermann
Try: https://github.com/browniebroke/django-codemod or https://github.com/adamchainz/django-upgrade On Tue, 17 Jan 2023 at 05:18, 'Ellinghaus, Lance J' via Django users < django-users@googlegroups.com> wrote: > I will be upgrading from Django 3.2.16 to 4.1.x and wanted to know if > anyone has

Re: How to fetch 10000 above record within second in django?

2023-01-17 Thread Clive Bruton
On 17 Jan 2023, at 12:06, Ayanfeoluwa Koyinsola wrote: You might now have to display all the data at once, see if you can use paginisation to reduce the numbers of queries I think this will only help if there are related lookups. -- Clive -- You received this message because you are

Ticket #34043: Contributing to the admin UI

2023-01-17 Thread Ritesh Kumar Maurya
I would like to work on this issue. Can someone help choose a good admin UI and add it to the Django project? Details here: #34043 (Doc "Writing your first patch for Django" doesn't explain how to contribute to the admin UI) – Django (djangoproject.com)

Re: How to fetch 10000 above record within second in django?

2023-01-17 Thread Prashanth Patelc
I'm already using pagination but when I hiting particular url it is taking more than 1minute for loading the data and displaying in html . On Tue, Jan 17, 2023, 5:37 PM Ayanfeoluwa Koyinsola < ayanfeoluwakoyins...@gmail.com> wrote: > You might now have to display all the data at once, see if you

Re: How to fetch 10000 above record within second in django?

2023-01-17 Thread Ayanfeoluwa Koyinsola
You might now have to display all the data at once, see if you can use paginisation to reduce the numbers of queries On Tue, Jan 17, 2023, 12:39 Clive Bruton wrote: > The easiest way to debug this is to install django_debug_toolbar and > look at the sql queries to see where the hold-up is. > >

Re: How to fetch 10000 above record within second in django?

2023-01-17 Thread Clive Bruton
The easiest way to debug this is to install django_debug_toolbar and look at the sql queries to see where the hold-up is. As previously, restrict the number of fields returned using "values" and/or use "select_related" or "prefetch_related" to get related data in one or two queries, rather

Django 4.2 alpha 1 released

2023-01-17 Thread Mariusz Felisiak
Details are available on the Django project weblog: https://www.djangoproject.com/weblog/2023/jan/17/django-42-alpha-1-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,