#27243: Make reverse_dict.getlist work with fully qualified module names
-----------------------------+--------------------------------------
     Reporter:  erob         |                    Owner:  nobody
         Type:  New feature  |                   Status:  new
    Component:  Core (URLs)  |                  Version:  1.10
     Severity:  Normal       |               Resolution:
     Keywords:               |             Triage Stage:  Unreviewed
    Has patch:  1            |      Needs documentation:  0
  Needs tests:  1            |  Patch needs improvement:  0
Easy pickings:  0            |                    UI/UX:  0
-----------------------------+--------------------------------------

Comment (by erob):

 I want to make Django 1.10 fully compatible with my urlpatterns
 configuration. I use a custom urlresolver module (notmm.utils.urlmap) to
 allow mapping url patterns to named views:
 {{{
 from notmm.utils.urlmap import RegexURLMap
 urlpatterns = RegexURLMap()
 urlpatterns.add_routes('foobar.views',
  (r'^index.html$', 'index'),
 )
 }}}
 add_routes() automatically create a fully qualified callback object to
 ensure the view function is a callable. However, Django doesn't handle
 fully qualified module names in reverse() without this patch.

--
Ticket URL: <https://code.djangoproject.com/ticket/27243#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 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/062.a695f086d169e5b605adc0b02ca94b71%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to