Re: prepopulate form with model instance values using UpdateView and ModelForm

2017-01-19 Thread Benjamin Dauer
the form's `__init__`. I think at this point I may just take Melvyn's advice and include the pk or a slug in the url. Appreciate the help though. If you're able to share the solution that you found to your problem I'd be very interested to see it. On Thu, Jan 19, 2017 at 8:02

Re: prepopulate form with model instance values using UpdateView and ModelForm

2017-01-19 Thread Benjamin Dauer
populating form by data > > Many thanks, > > Serge > > > +380 636150445 <+380%2063%20615%200445> > skype: skhohlov > > On Thu, Jan 19, 2017 at 3:22 AM, Melvyn Sopacua > wrote: > >> On Wednesday 18 January 2017 14:26:52 Benjamin Dauer wrote: >> &g

Re: prepopulate form with model instance values using UpdateView and ModelForm

2017-01-18 Thread Benjamin Dauer
Hi Melvyn, That's exactly what I'm trying to do, but prior to making the changes it wasn't prepopulating. At each stage I tested and was getting blank fields albeit based off of the correct model. Maybe it's because I don't provide the pk in the URL? I was trying to avoid that. On Wed, Jan 18, 2