Re: Getting value from session in ModelForm

2011-02-08 Thread SimpleDimple
I understand what you mean about the scope Thanks for the sample code, very helpful, will try it out and let you know. Thanks, On Feb 8, 2:45 pm, Daniel Roseman wrote: > On Monday, February 7, 2011 8:27:55 PM UTC, SimpleDimple wrote: > > > I am new to Django and building a school system but

Re: Getting value from session in ModelForm

2011-02-08 Thread Daniel Roseman
On Monday, February 7, 2011 8:27:55 PM UTC, SimpleDimple wrote: > > I am new to Django and building a school system but am an experienced > developer otherwise having firm grip over rails, .net, php & java. > > I have the following class where on teacher add/edit form, I am trying > to filter va

Getting value from session in ModelForm

2011-02-07 Thread SimpleDimple
I am new to Django and building a school system but am an experienced developer otherwise having firm grip over rails, .net, php & java. I have the following class where on teacher add/edit form, I am trying to filter values in class drop down based on school. The value of school_id is saved in s