#27774: django admin with many objects count is very slow
-----------------------------------------+------------------------
Reporter: Sayid Munawar | Owner: nobody
Type: Uncategorized | Status: new
Component: contrib.admin | Version: 1.11
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 1 |
-----------------------------------------+------------------------
Django version 1.11a1
i created many (thousands) objects:
{{{
...: count = 500
...: for x in range(0, count):
...: print(Group.objects.create(name=usr()))
marmut_jahat_4230
hamster_harum_1454
...
kertas_bangga_8357
ular_semangat_5998
In [10]: Group.objects.count()
Out[10]: 4265
}}}
Then go to Admin->Groups, and click one of them. The page will be rendered
very slow compared to django 1.10. See screenshots:
=== Django 1.10
[[Image(https://monosnap.com/file/e9MJR67566oxSjQ9E15hTKaut3PnKS.png,
600px)]]
=== Django 1.11a
[[Image(https://monosnap.com/file/EGA8rgYrETlwkNYnkwImmfIYZtl9IY.png,
600px)]]
=== Django 2.0-dev
[[Image(https://monosnap.com/file/TXvZ3t7Tu4eZXfA6OslNDer3oGRG2y.png,
600px)]]
--
Ticket URL: <https://code.djangoproject.com/ticket/27774>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/050.b7d78b333eea07130af63f5aa6357857%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.