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 form:
class CareerForm(ModelForm):
    class Meta:
        model = Career

inside my template im using :

{{ form.as_p }} to display the form

i can see the fileds but when i try to submit , the rusume validation
is always failing (This field is required.)
although i upload the file, and i was able to add data usign the admin
interface without any problems

any ideas about this issue
thanks in advance

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to