Re: Help with Dynamic ChoiceField

2013-03-25 Thread Dilip M
On Mon, Mar 25, 2013 at 4:54 PM, Dilip M <dilip...@gmail.com> wrote: > Hi, > > I am trying to fill in *choices *for MultipleChoiceField in runtime. I > am using formWizard and trying to return the dictionary using get_form_kwargs. > > > I am able set the *initial* for

Help with Dynamic ChoiceField

2013-03-25 Thread Dilip M
Hi, I am trying to fill in *choices *for MultipleChoiceField in runtime. I am using formWizard and trying to return the dictionary using get_form_kwargs. I am able set the *initial* for CharField but not *choices *for MultipleChoiceField. I am trying to show up dynamic choices based on the

Re: Help with Django form wizard.

2013-03-20 Thread Dilip M
On Thu, Mar 7, 2013 at 9:21 PM, Dilip M <dilip...@gmail.com> wrote: > Hi, > > Here is what I am trying to do. Get the root folder name in form 1 and > list the found sub directories (matching a pattern) and give an > option for user to select the sub dirs. Once sele

Re: Help with Django form wizard.

2013-03-07 Thread Dilip M
On Thu, Mar 7, 2013 at 9:21 PM, Dilip M <dilip...@gmail.com> wrote: > Hi, > > Here is what I am trying to do. Get the root folder name in form 1 and > list the found sub directories (matching a pattern) and give an > option for user to select the sub dirs. Once sele

Help with Django form wizard.

2013-03-07 Thread Dilip M
Hi, Here is what I am trying to do. Get the root folder name in form 1 and list the found sub directories (matching a pattern) and give an option for user to select the sub dirs. Once selected, I want to save the model. 1. How to dynamically display found sub directories in form 2. I have

Trouble in trying django form wizard example!

2013-03-05 Thread Dilip M
Hi, I am new to Django and trying out form wizards. I am trying the example mentioned in https://docs.djangoproject.com/en/dev/ref/contrib/formtools/form-wizard/#wizard-template-for-each-form . After 'submit'ting the data for 'ContactForm1' I am not getting 'ContactForm2'? I am just trying to

MySQL Connector/Python Django 1.4

2012-11-22 Thread Dilip M
Hi, Have anyone got MySQL Connector/Python (1.0.7) working with Django 1.4? If yes, what the installation procedure and how to get it work? Thanks..Dilip -- You received this message because you are subscribed to the Google Groups "Django

Re: Help with Custom model field and Custom validation for EmailField().

2012-11-06 Thread Dilip M
ango-users?hl=en. > > On Sat, Nov 3, 2012 at 6:31 PM, Chris Pagnutti <chris.pagnu...@gmail.com>wrote: > I've never done it myself, but I think you'd just define the clean method > in your Form's class (i.e. in forms.py), and the first line in your clean() > method should

Re: Help with Custom model field and Custom validation for EmailField().

2012-11-03 Thread Dilip M
overriding the clean() method. So you could > put all the same logic above into the clean() method instead. > > > On Friday, November 2, 2012 4:36:20 AM UTC-4, Dilip M wrote: > >> Hi, >> >> I am new to Django. Went through docs before posting this.. I have a >&g

Re: Help with Custom model field and Custom validation for EmailField().

2012-11-02 Thread Dilip M
ample would really help... :) > On Friday, November 2, 2012 4:36:20 AM UTC-4, Dilip M wrote: >> >> Hi, >> >> I am new to Django. Went through docs before posting this.. I have a model >> and form like this. >> >> models.py: >> >> class Re

Help with Custom model field and Custom validation for EmailField().

2012-11-02 Thread Dilip M
Hi, I am new to Django. Went through docs before posting this.. I have a model and form like this. models.py: class Recipients(models.Model): dev = models.EmailField() qa = models.EmailField() cc = models.MultipleEmailField() forms.py: class RecipientsForm(forms.ModelForm):