#32195: Improve error messages from forgetting to call .as_view() on a CBV
------------------------------+------------------------------------
     Reporter:  Angus Holder  |                    Owner:  nobody
         Type:  New feature   |                   Status:  new
    Component:  Core (URLs)   |                  Version:  3.1
     Severity:  Normal        |               Resolution:
     Keywords:                |             Triage Stage:  Accepted
    Has patch:  1             |      Needs documentation:  1
  Needs tests:  0             |  Patch needs improvement:  1
Easy pickings:  0             |                    UI/UX:  1
------------------------------+------------------------------------

Comment (by Craig Smith):

 Would it be worthwhile to change the error message for if the `name`
 keyword argument is mistakenly passed as a positional argument? Currently
 the message is:


 {{{
 ValueError: dictionary update sequence element #0 has length 1; 2 is
 required
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/32195#comment:3>
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/069.1a328eb78288c78c99245d6347e1215c%40djangoproject.com.

Reply via email to