#35641: Pattern matching on model objects
-------------------------------------+-------------------------------------
Reporter: Johan Dahlin | Owner: (none)
Type: New feature | Status: new
Component: Database layer | Version: 5.0
(models, ORM) |
Severity: Normal | Resolution:
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Simon Charette):
I think we'd have to see a PR and how invasive it is to implement before
taking a decision here. I personally only see marginal readability gains
in the example you provided so I'm skeptical that's worth the complexity.
--
Ticket URL: <https://code.djangoproject.com/ticket/35641#comment:4>
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/0107019103c17b30-858afa20-ec91-4274-b081-2b3de92c26c9-000000%40eu-central-1.amazonses.com.