Re: error while trying save a model form

2009-02-26 Thread Atishay
On Feb 26, 3:12 pm, "uno...@gmail.com" wrote: > I have the following model form: > > class EditProfileForm(ModelForm): > >     class Meta: >         model = UserProfile >         exclude = ('user',) > > The corresponding model is: > > class UserProfile(models.Model): > >    

1 Question TextArea Html field and one about Admin Interface

2009-02-26 Thread Atishay
Hi I am wondering if I can use django and create forms which have textarea and people are allowed to format its content (like bold, italics)..Something like WYSIWYG Second Question, in admin interface I am able to group fields together and assign them a class. Ex: ('Date information',

Re: django admin not showing the models related data

2009-02-09 Thread Atishay
On Feb 9, 11:40 pm, Alex Gaynor <alex.gay...@gmail.com> wrote: > On Mon, Feb 9, 2009 at 11:36 PM, Atishay <contactatis...@gmail.com> wrote: > > > I just added admin related info in models.py > > The models however do not show up in django admin. I am using 1.0.2 &g

django admin not showing the models related data

2009-02-09 Thread Atishay
I just added admin related info in models.py The models however do not show up in django admin. I am using 1.0.2 version currently. they were displaying properly in .97 version 31 32 def __str__(self): 33 return "name: " +self.first_name + " " + self.mi + " " + \ 34

django is not able to load a URL

2009-02-09 Thread Atishay
Hi I am using captcha [you would have seen my prev posts]. I have posted code at http://dpaste.com/118796/ when I run "python manage.py runserver " I get error that django is not able to locate a image file [09/Feb/2009 21:23:15] "GET /captcha/captchas/cP-29Cu/

Re: unable to import imaging c module

2009-02-09 Thread Atishay
On Feb 9, 7:11 pm, Atishay <contactatis...@gmail.com> wrote: > hi > > i am trying to use PIL, with Django to display Captcha. This could be > newbie stuff as I am new to python and PIL. > > I am getting following error when importing ImageFont. > > Impo

unable to import imaging c module

2009-02-09 Thread Atishay
/_imaging.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), not stripped How could I fix this? I am able to import other stuff like Image, ImageDraw, ImageColor How can I find out version of PIL? Regards Atishay Captcha module being used : http://django.agami.at/media/captcha

Re: unable to import django.forms.formsets

2009-01-17 Thread Atishay
either if filled of left blank ? Question 2: i have to pass the list as papers[0] and so on to render_to_response .. I tried to pass it as papers and access it as papers[0].as_table in the template but it did not work? thanks -Atishay On Jan 17, 3:23 pm, Atishay <contactatis...@gmail.com>

Re: unable to import django.forms.formsets

2009-01-17 Thread Atishay
Thank you all. I will upgrade to 1.02 as well. Regards Atishay On Jan 17, 2:18 pm, Daniel Roseman <roseman.dan...@googlemail.com> wrote: > On Jan 17, 5:59 pm, Atishay <contactatis...@gmail.com> wrote: > > > On Jan 16, 10:06 pm, "alex.gay...@gmail.com"

Re: unable to import django.forms.formsets

2009-01-17 Thread Atishay
On Jan 16, 10:06 pm, "alex.gay...@gmail.com" <alex.gay...@gmail.com> wrote: > On Jan 16, 5:47 pm, Atishay <contactatis...@gmail.com> wrote: > > > > > Hi > > > when i try to import django formsets i get error. I am very new to > >

unable to import django.forms.formsets

2009-01-16 Thread Atishay
--- ImportError Traceback (most recent call last) /home/atishay/public_html/newhssonline/apps/callforpapers/ in () ImportError: No module named formsets I was following exampls from http://docs.djangoproject.com/en/dev/topics/forms/formsets/#using-initial-data