#17753: Internationalizing URL Patterns Redirect should be 404
-------------------------------------+-------------------------------------
     Reporter:  jaddison             |                    Owner:  jezdez
         Type:  Bug                  |                   Status:  new
    Component:                       |                  Version:
  Internationalization               |  1.4-beta-1
     Severity:  Normal               |               Resolution:
     Keywords:  url patterns,        |             Triage Stage:  Accepted
  internationalization               |      Needs documentation:  0
    Has patch:  0                    |  Patch needs improvement:  0
  Needs tests:  0                    |                    UI/UX:  0
Easy pickings:  0                    |
-------------------------------------+-------------------------------------
Changes (by jezdez):

 * severity:  Release blocker => Normal
 * stage:  Unreviewed => Accepted


Comment:

 While this is certainly an odd situation, we really can't do something
 about this at this stage of the release cycle. It **is** technical correct
 to redirect to /en/de/ if German isn't listed in the list of languages.

 This may be fixed by also checking the global list of languages supported
 by Django, but this will again break if a language is tried that Django
 itself doesn't support. Introducing a setting just to handle this case
 seems like a bad idea, too.

 The suggestion to make this error handling pluggable seems like a good
 idea at first, too, but then I realized that we only provide this kind of
 extensibility for specific HTTP level errors, e.g. handler404, handler500
 etc. I'm at loss how we could convince ourselves to make an exception for
 this use case.

 That said, I'm accepting this ticket as a limitation of the current
 implementation but remove the release blocker label.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/17753#comment:5>
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 post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to