#17697: Implement a new property as list type (like extra_argument) into the
ListView class
-------------------------------------+-------------------------------------
     Reporter:  sylock               |                    Owner:  Fandekasp
         Type:  New feature          |                   Status:  new
    Component:  Generic views        |                  Version:  1.3
     Severity:  Normal               |               Resolution:
     Keywords:  extra_context        |             Triage Stage:  Design
  generic views listview             |  decision needed
    Has patch:  0                    |      Needs documentation:  1
  Needs tests:  1                    |  Patch needs improvement:  0
Easy pickings:  1                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Fandekasp):

 * stage:  Accepted => Design decision needed


Comment:

 I think it would be a good idea to add back the extra_context kwarg, that
 would allow a user to give the extra context in the urls.py directly for
 small views.

 The extra_context has to be a dict @sylock, you need to specify the key
 and value for that extra context.

 Nevertheless, there might be a good reason why that extra_context field
 has been removed from the function based views to class based views, so
 I'd like a core developer to confirm whereas I can work on that new
 feature or not. I'll have to change several parts of the doc as well, so
 maybe I'll have to add a note in the release/1.4.txt, or 1.5-alpha-1.txt
 if we're not gonna add that patch in 1.4.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/17697#comment:5>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to