model form validation always failing

2009-05-19 Thread watad
dear all i have a model Career class Career(models.Model): full_name = models.CharField(max_length=200) email = models.EmailField() nationality = CountryField() resume = models.FileField(upload_to='resumes') def __unicode__(self): return self.full_name and i have the model fo

Re: model form validation always failing

2009-05-19 Thread watad
thanks for the reply thomas if tried that but it is still giving the validation message On May 19, 1:18 pm, Thomas Guettler wrote: > Maybe you form misses this: enctype="multipart/form-data" > > watad schrieb: > > > dear all > ... > > i can see the fileds

Re: model form validation always failing

2009-05-19 Thread watad
when i submit im reading the link u have posted to check whats wrong another help will be appriciated :) On May 19, 4:27 pm, Karen Tracey wrote: > On Tue, May 19, 2009 at 5:23 AM, watad wrote: > > i have a model Career > > > class Career(models.Model): > >  full_name =

Re: model form validation always failing

2009-05-22 Thread watad
resume field does not? thanks for your replys On May 20, 9:13 pm, Karen Tracey wrote: > On Wed, May 20, 2009 at 2:39 AM, watad wrote: > > > this is my form after thomas reply: > > > >                    

Re: model form validation always failing

2009-06-08 Thread watad
the form is working fine now , actually my form was inside another form , that was the problem On May 22, 6:55 pm, watad wrote: > hi karen , actually im runing this code , after submit i can see all > the data inside the model ,only the filefield resume is empty , of > course when i

djapian not working with apach2

2010-06-21 Thread watad
hi all, im using djapian for my search , it seems to work fine when i run it in django development server but when i configure my sites to use apach2 im always getting this error when i try to search : "Caught OSError while rendering: [Errno 13] Permission denied: '/ index'" i am sure it is not a

Re: djapian not working with apach2

2010-06-22 Thread watad
es) as the user of your choice > using > perhapshttp://code.google.com/p/modwsgi/wiki/ConfigurationDirectives#WSGIDae... > hope that helps. > > On Jun 21, 10:03 am, watad wrote: > > > > > hi all, > > > im using djapian for my search , it seems to work fine when

Re: djapian not working with apach2

2010-06-22 Thread watad
thanks a lot Graham!!! :) i used absolute path and it is working fine On Jun 22, 3:01 am, Graham Dumpleton wrote: > On Jun 22, 12:03 am, watad wrote: > > > > > > > hi all, > > > im using djapian for my search , it seems to work fine when i run it > > in d

django-autofixture giving import error (no module named keyczar)

2010-06-22 Thread watad
hi all did anyone used django-autofixture , i followed the instructions on this link : http://pypi.python.org/pypi/django-autofixture/0.2.2 i installed django-autofixture added the 'autofixture' to my INSTALLED_APPS for example my app name is company , my model name is product i use this command :

django using apache2 and mod_wsgi

2010-08-01 Thread watad
dear all i am using django with apache2 and mod_wsgi with djapian as my search engine i have noticed two major issues so far : 1) the first issue is when i use djapian im stuck in a deadlock when i call any Xapian method or function (this is explained in this ticket http://trac.xapian.org/ticket/

django using apache2 and mod_wsgi

2010-08-01 Thread watad
dear all i am using django with apache2 and mod_wsgi with djapian as my search engine i have noticed two major issues so far : 1) the first issue is when i use djapian im stuck in a deadlock when i call any Xapian method or function (this is explained in this ticket http://trac.xapian.org/ticket/

problem using mod_wsgi with djapian

2010-08-03 Thread watad
dear all i am using django with apache2 and mod_wsgi with djapian as my search engine i have noticed a major issue: when i use djapian im stuck in a deadlock when i call any Xapian method or function (this is explained in this ticket http://trac.xapian.org/ticket/185) i used the solution posted t

problem using mod_wsgi with djapian

2010-08-03 Thread watad
dear all i am using django with apache2 and mod_wsgi with djapian as my search engine i have noticed a major issue: when i use djapian im stuck in a deadlock when i call any Xapian method or function (this is explained in this ticket http://trac.xapian.org/ticket/185) i used the solution posted t