Re: [Django] #27243: Make reverse_dict.getlist work with fully qualified module names

2016-09-20 Thread Django
#27243: Make reverse_dict.getlist work with fully qualified module names
---+--
 Reporter:  Etienne Robillard  |Owner:  nobody
 Type:  New feature|   Status:  closed
Component:  Core (URLs)|  Version:  1.10
 Severity:  Normal |   Resolution:  needsinfo
 Keywords: | Triage Stage:  Unreviewed
Has patch:  1  |  Needs documentation:  0
  Needs tests:  1  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+--
Changes (by Tim Graham):

 * status:  new => closed
 * resolution:   => needsinfo


Comment:

 Please reopen if you can add more details and provide a tested patch.

--
Ticket URL: 
Django 
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.95933b8cd5267486bcce9be0612cc153%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #27243: Make reverse_dict.getlist work with fully qualified module names

2016-09-19 Thread Django
#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 timgraham):

 I guess you might be running into problems because Django 1.10 removed
 support for string `view` arguments in `url()`
 (a25d3ce007b90a0516aed54fc1c5a16510a290e4 and/or
 785cc71d5b3300e2702b0b2fc7316e58ca70b563). I'm not sure whether or not we
 can accommodate the use case, but as-is your patch crashes the test suite.

--
Ticket URL: 
Django 
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.31c2c41c734fc7489bd64b25e5fbe8f5%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #27243: Make reverse_dict.getlist work with fully qualified module names

2016-09-19 Thread Django
#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: 
Django 
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.


Re: [Django] #27243: Make reverse_dict.getlist work with fully qualified module names

2016-09-19 Thread Django
#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
-+--
Changes (by timgraham):

 * needs_tests:  0 => 1


Comment:

 Can you please summarize the discussion and explain what use case this
 solves? Tests are also needed.

--
Ticket URL: 
Django 
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.c4f0611f4190c6116b4285cf6e77fceb%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #27243: Make reverse_dict.getlist work with fully qualified module names

2016-09-19 Thread Django
#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:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+--
Changes (by erob):

 * needs_better_patch:   => 0
 * needs_tests:   => 0
 * needs_docs:   => 0


Comment:

 For discussion of this issue see: https://groups.google.com/forum/#!topic
 /django-users/FVH1sA_j1tM

--
Ticket URL: 
Django 
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.643585ca3734a7bfcc6c26be2548efd9%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #27243: Make reverse_dict.getlist work with fully qualified module names

2016-09-19 Thread Django
#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|  Easy pickings:  0
UI/UX:  0|
-+
Changes (by erob):

 * Attachment "resolvers.diff" added.


--
Ticket URL: 
Django 
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.f8b171a092ed85fe6e40032e87d4529f%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.