#30947: Apply data structure best practices to the django.contrib models
------------------------------------------------+------------------------
Reporter: Jon Dufresne | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Uncategorized | Version: master
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
------------------------------------------------+------------------------
In PR https://github.com/django/django/pull/11267 an argument is presented
that explains why `list` is often the best choice for Model.Meta data
structures. This landed as
https://github.com/django/django/commit/97d3321e89c8d4434927bdbc308db1ccffa99d3b.
Now change all models in `django.contrib` to follow our own stated best
practices. People often look at existing examples for how to write new
code, so we might as well promote the standards we document.
--
Ticket URL: <https://code.djangoproject.com/ticket/30947>
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 view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/052.27c98e22003f8884d508b0313b1ffff8%40djangoproject.com.