#34306: Add a list of status codes
-------------------------------------+-------------------------------------
Reporter: tetelevm | Owner: nobody
Type: New | Status: new
feature |
Component: Utilities | Version: dev
Severity: Normal | Keywords: status_code
Triage Stage: | status_codes
Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
The DRF framework has a great thing - constants for status_codes
(https://www.django-rest-framework.org/api-guide/status-codes/).
I think this is a feature lacking in the original Django. The reason - it
improves readability (no _magic numbers_), doesn't require exact
remembering all the codes, and gives a list of default statuses.
--
Ticket URL: <https://code.djangoproject.com/ticket/34306>
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/010701860e906476-4dc8234e-7ba1-417a-abf8-d7919c98ed00-000000%40eu-central-1.amazonses.com.