#27063: Regex url routing + Localization (prefix_default_language) --------------------------------------+------------------------------------ Reporter: keithhackbarth | Owner: nobody Type: Bug | Status: new Component: Internationalization | Version: 1.10 Severity: Normal | Resolution: Keywords: | Triage Stage: Accepted Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 --------------------------------------+------------------------------------
Comment (by jayk140): @urbaniak - As discussed, I added a test for the case in which the language code is prefixed with a `-` (i.e de-test-parking). With your updated code and new language_code_prefix_re, the test passes now as expected results of 200 with language code of 'en'. The case of stacking language prefixes now returns the expected 404 as well. Thanks for the help! -- Ticket URL: <https://code.djangoproject.com/ticket/27063#comment:13> 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 django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/072.2d2a747ed92bd69adfc85bc5ee0f5884%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.