Re: [Django] #17242: Kwargs are not in the context if you inherit from BaseListView or it's subclasses

2022-07-01 Thread Django
#17242: Kwargs are not in the context if you inherit from BaseListView or it's
subclasses
-+-
 Reporter:  Fact Fiber   |Owner:  nobody
 Type:  Bug  |   Status:  closed
Component:  Generic views|  Version:  dev
 Severity:  Normal   |   Resolution:  invalid
 Keywords:  generic views list   | Triage Stage:  Accepted
  baselistview kwargs|
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  1|UI/UX:  0
-+-

Comment (by Tim Graham):

 Following up on the last comment, there's no plan to stop `TemplateView`
 from putting `kwargs` in the context as per #19878 (wontfix).

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/01070181bbda0494-60a192ac-1c3e-45b7-ac66-774153ce338b-00%40eu-central-1.amazonses.com.


Re: [Django] #17242: Kwargs are not in the context if you inherit from BaseListView or it's subclasses

2011-12-11 Thread Django
#17242: Kwargs are not in the context if you inherit from BaseListView or it's
subclasses
-+-
 Reporter:  Fact Fiber   |Owner:  nobody
 Type:  Bug  |   Status:  closed
Component:  Generic views|  Version:  SVN
 Severity:  Normal   |   Resolution:  invalid
 Keywords:  generic views list   | Triage Stage:  Accepted
  baselistview kwargs|  Needs documentation:  0
Has patch:  1|  Patch needs improvement:  0
  Needs tests:  0|UI/UX:  0
Easy pickings:  1|
-+-

Comment (by ptone):

 I do see this pattern of passing the get kwargs to get_context_data in
 TemplateView  - but I think that is a bug there and will open a ticket for
 that

-- 
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 post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #17242: Kwargs are not in the context if you inherit from BaseListView or it's subclasses

2011-12-11 Thread Django
#17242: Kwargs are not in the context if you inherit from BaseListView or it's
subclasses
-+-
 Reporter:  Fact Fiber   |Owner:  nobody
 Type:  Bug  |   Status:  closed
Component:  Generic views|  Version:  SVN
 Severity:  Normal   |   Resolution:  invalid
 Keywords:  generic views list   | Triage Stage:  Accepted
  baselistview kwargs|  Needs documentation:  0
Has patch:  1|  Patch needs improvement:  0
  Needs tests:  0|UI/UX:  0
Easy pickings:  1|
-+-
Changes (by ptone):

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


Comment:

 Looking at this again now - I actually think this is invalid.

 There is confusion here about two different sets of kwargs - one is kwargs
 being passed directly to the "get_context_data" method, the other is
 kwargs being passed to the get method

 There is no expectation that kwargs passed to the get method (from the
 URLconf) are automatically to be inserted into the context.

-- 
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 post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #17242: Kwargs are not in the context if you inherit from BaseListView or it's subclasses

2011-11-17 Thread Django
#17242: Kwargs are not in the context if you inherit from BaseListView or it's
subclasses
-+-
 Reporter:  Fact Fiber   |Owner:  nobody
 Type:  Bug  |   Status:  new
Component:  Generic views|  Version:  SVN
 Severity:  Normal   |   Resolution:
 Keywords:  generic views list   | Triage Stage:  Accepted
  baselistview kwargs|  Needs documentation:  0
Has patch:  1|  Patch needs improvement:  0
  Needs tests:  0|UI/UX:  0
Easy pickings:  1|
-+-
Changes (by ptone):

 * needs_better_patch:   => 0
 * stage:  Unreviewed => Accepted
 * needs_tests:   => 0
 * needs_docs:   => 0


Comment:

 This is not exactly a duplicate of #16074, but is closely related, and
 should probably be fixed in the work on that ticket - I will reference
 this one there.

-- 
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 post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.