Re: [Django] #24055: Keep reference to view class for resolve()

2015-01-17 Thread Django
#24055: Keep reference to view class for resolve()
+
 Reporter:  collinanderson  |Owner:  nobody
 Type:  New feature |   Status:  closed
Component:  Generic views   |  Version:  master
 Severity:  Normal  |   Resolution:  fixed
 Keywords:  | Triage Stage:  Accepted
Has patch:  1   |  Needs documentation:  1
  Needs tests:  0   |  Patch needs improvement:  0
Easy pickings:  0   |UI/UX:  0
+
Changes (by Loic Bistuer ):

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


Comment:

 In [changeset:"a420f83e7d2e446ca01ef7c13d30c2ef3e975e5c"]:
 {{{
 #!CommitTicketReference repository=""
 revision="a420f83e7d2e446ca01ef7c13d30c2ef3e975e5c"
 Fixed #24055 -- Keep reference to view class for resolve()
 }}}

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


Re: [Django] #24055: Keep reference to view class for resolve()

2015-01-14 Thread Django
#24055: Keep reference to view class for resolve()
+
 Reporter:  collinanderson  |Owner:  nobody
 Type:  New feature |   Status:  new
Component:  Generic views   |  Version:  master
 Severity:  Normal  |   Resolution:
 Keywords:  | Triage Stage:  Accepted
Has patch:  1   |  Needs documentation:  1
  Needs tests:  0   |  Patch needs improvement:  0
Easy pickings:  0   |UI/UX:  0
+
Changes (by loic):

 * needs_docs:  0 => 1
 * stage:  Unreviewed => Accepted


Comment:

 I agree it'd be nice to enable retrieving the actual class, we already
 preserve `__name__`, `__doc__`, etc. we might as well preserve the class
 itself.

 I was worried that decorators like `login_required` would wipe these
 anyway and that it may be too fragile as an API, but apparently it doesn't
 happen thanks to `functools.wraps()` preserving `__dict__`.

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


Re: [Django] #24055: Keep reference to view class for resolve()

2014-12-26 Thread Django
#24055: Keep reference to view class for resolve()
+--
 Reporter:  collinanderson  |Owner:  nobody
 Type:  New feature |   Status:  new
Component:  Generic views   |  Version:  master
 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 collinanderson):

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


Comment:

 https://github.com/django/django/pull/3797

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