Commits

Federico Capoano committed b0b8985

Changed XMLField with TextField because XMLField was deprecated:
https://docs.djangoproject.com/en/1.3/internals/deprecation/

  • Participants
  • Parent commits 1688bcd
  • Branches nemesisdesign/changed-xmlfield-with-textfield-because--1375536304757

Comments (0)

Files changed (1)

File examples/django_roa_server/models.py

     text_field = models.TextField(blank=True, null=True)
     time_field = models.TimeField(blank=True, null=True)
     url_field = models.URLField(blank=True, null=True)
-    xml_field = models.XMLField(blank=True, null=True)
+    xml_field = models.TextField(blank=True, null=True)
 
     file_field = models.FileField(upload_to="files", blank=True, null=True)
     image_field = models.ImageField(upload_to="images", blank=True, null=True)