#32214: Add django.core.exceptions.NON_FIELD_ERRORS key to the settings
-------------------------------------+-------------------------------------
               Reporter:             |          Owner:  nobody
  omerfarukabaci                     |
                   Type:  New        |         Status:  new
  feature                            |
              Component:  Core       |        Version:  3.1
  (Other)                            |       Keywords:  non_field_errors,
               Severity:  Normal     |  settings
           Triage Stage:             |      Has patch:  0
  Unreviewed                         |
    Needs documentation:  0          |    Needs tests:  0
Patch needs improvement:  0          |  Easy pickings:  0
                  UI/UX:  0          |
-------------------------------------+-------------------------------------
 It would be a good addition to be able to change
 `django.core.exceptions.NON_FIELD_ERRORS` key in settings. It is being
 used when a `django.core.exceptions.ValidationError` is raised without
 specifying a key. In `Django Rest Framework` it is editable via settings
 and it would be good to have a consistent key for non field errors between
 `Django` and `Django Rest Framework` without needing to patch
 `django.core.exceptions.NON_FIELD_ERRORS`. Thank you in advance!

 [1 https://www.django-rest-framework.org/api-
 guide/settings/#non_field_errors_key]

-- 
Ticket URL: <https://code.djangoproject.com/ticket/32214>
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/057.c5dd84052277405baa94d775619f868e%40djangoproject.com.

Reply via email to