How does one validate the xml being inserted into a table? I have the
following model:
class FlightReservation(models.Model):
"""
"""
departing_itin = models.XMLField(ITIN_RELAXNG_SCHEMA_PATH)
returning_itin = models.XMLField(ITIN_RELAXNG_SCHEMA_PATH)
...
I have the JING_PATH set in my settings.py
However, when I inserted a row, :
1. It does not complain even if the above two fields are blank. (I was
expecting it to complain)
2. Do I need to call the validation explicitly?
thanks
Jim
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---