On Aug 22, 3:38 pm, "Marty Alchin" <[EMAIL PROTECTED]> wrote: > You should really be using forms here, even though you're not > submitting them through the normal channels. This would allow you to > use form-level validations, which are designed precisely for these > types of situations. Just create a form (probably a ModelForm) that > matches whatever you intend to post back to the server, and pass > request.POST and request.FILES into that and use its .is_valid() > method to force the proper validations to run.
OK, I'll try creating a form. Many thanks, Michael --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---