Weird form validation question

2014-10-09 Thread termopro
Hi, I am building a user registration page. Page has a form where user can select his current state and city. The problem with that is that i cannot load list of cities into the form when the page is being generated. That's because i show the user only cities from his state, not all of them. S

Re: Weird form validation question

2014-10-09 Thread Sergiy Khohlov
Are you using form_valid method in view ? Many thanks, Serge +380 636150445 skype: skhohlov On Thu, Oct 9, 2014 at 10:10 AM, termopro wrote: > Hi, > > I am building a user registration page. Page has a form where user can > select his current state and city. > > The problem with that is that

Re: Weird form validation question

2014-10-09 Thread termopro
I am using form.is_valid() On Thursday, October 9, 2014 10:54:56 AM UTC+3, Sergiy Khohlov wrote: > > Are you using form_valid method in view ? > > Many thanks, > > Serge > > > +380 636150445 > skype: skhohlov > > On Thu, Oct 9, 2014 at 10:10 AM, termopro > > wrote: > >> Hi, >> >> I am building a

Re: Weird form validation question

2014-10-09 Thread Sergiy Khohlov
could you please paste code in form valid block ? Many thanks, Serge +380 636150445 skype: skhohlov On Thu, Oct 9, 2014 at 11:23 AM, termopro wrote: > I am using form.is_valid() > > On Thursday, October 9, 2014 10:54:56 AM UTC+3, Sergiy Khohlov wrote: >> >> Are you using form_valid method i