#35244: URL resolution does not work when giving a function reference if it is
listed in `urls` with `app_name`
               Reporter:  Willem     |          Owner:  nobody
  Van Onsem                          |
                   Type:             |         Status:  new
  Uncategorized                      |
              Component:  Core       |        Version:  5.0
  (URLs)                             |       Keywords:  urls, resolve,
               Severity:  Normal     |  reverse, resolution
           Triage Stage:             |      Has patch:  1
  Unreviewed                         |
    Needs documentation:  0          |    Needs tests:  0
Patch needs improvement:  0          |  Easy pickings:  0
                  UI/UX:  0          |
 First mentioned on StackOverflow with:

 This is because the `.reverse_dict` dictionary is not populated with view
 functions, or at least not if there is an `app_name` around line 563 of

 A patch is quite simple: look in the `.reverse_dict` of the subpath, and
 propagate the values to the upper level in case these are callable (see

 But the question is of course if this approach is sound and complete.
Ticket URL: <https://code.djangoproject.com/ticket/35244>
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 view this discussion on the web visit 

Reply via email to