TemplateView and FormView inconsistency

2019-08-13 Thread step21
Hi all, When developing I noticed an inconsistency - when using TemplateView, kwargs are passed to context, but not when using FormView or others. Source comparison: https://dpaste.de/Jwdn Relevant super old issue talking about depreciation here: https://code.djangoproject.com/ticket/19878 I

Re: TemplateView and FormView inconsistency

2019-08-14 Thread step21
t explicitly in the discussion: the view kwargs are always > accessible inside templates because ContextMixin.get_context_data passes > 'view', and view.kwargs is always set by View.setup(). > > Thanks, > > Adam > > On Wed, 14 Aug 2019 at 01:56, step21 <