#24707: urls: error messages for broken views are better for 
deprecated-old-style
than they are for new-style
--------------------------------------+------------------------------------
     Reporter:  hjwp                  |                    Owner:  hjwp
         Type:  Cleanup/optimization  |                   Status:  assigned
    Component:  Core (URLs)           |                  Version:  master
     Severity:  Normal                |               Resolution:
     Keywords:                        |             Triage Stage:  Accepted
    Has patch:  1                     |      Needs documentation:  0
  Needs tests:  0                     |  Patch needs improvement:  1
Easy pickings:  0                     |                    UI/UX:  0
--------------------------------------+------------------------------------

Comment (by hjwp):

 From a "selfish" point of view, the reason I've come to this is -- in my
 book, my intro to django urls and views comes via a test (it's a TDD
 book).  Using old-style urls, I show how django's error messsages guide us
 gently towards the right answer.  Moral of the story is, yay django, yay
 tests.  I'm trying to update it for 1.8, and use the recommended direct
 imports, but because the error messages aren't as good, the story really
 doesn't work so well.

--
Ticket URL: <https://code.djangoproject.com/ticket/24707#comment:9>
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/062.cc34df968e91b08ca58f8577219e294c%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to