Re: CreateView and get_context_data()

2013-11-22 Thread Timothy W. Cook
THanks Lucas and Daniel, On Fri, Nov 22, 2013 at 11:38 AM, Daniel Roseman wrote: > On Friday, 22 November 2013 13:13:46 UTC, Timothy W. Cook wrote: > You've added it to kwargs, but you haven't passed kwargs as the template > context - you've simply hard-coded that to `{'form': form}`. I 'think'

Re: CreateView and get_context_data()

2013-11-22 Thread Daniel Roseman
On Friday, 22 November 2013 13:13:46 UTC, Timothy W. Cook wrote: > > Lucas, > > On Fri, Nov 22, 2013 at 9:58 AM, Lucas Magnum > > > wrote: > > Timothy, > > The "get_context_data" is called in get method, once you override it > > "get_context_data" isn't called anymore. > > > > Right. So my

Re: CreateView and get_context_data()

2013-11-22 Thread Timothy W. Cook
Lucas, On Fri, Nov 22, 2013 at 9:58 AM, Lucas Magnum wrote: > Timothy, > The "get_context_data" is called in get method, once you override it > "get_context_data" isn't called anymore. > Right. So my thought process was that if I override it and place additional information there it would be av

Re: CreateView and get_context_data()

2013-11-22 Thread Lucas Magnum
Timothy, The "get_context_data" is called in *get* method, once you override it "get_context_data" isn't called anymore. You can see in http://ccbv.co.uk/projects/Django/1.4/django.views.generic.edit/CreateView/ []'s Lucas Magnum. 2013/11/22 Timothy W. Cook > I am trying to setup some