Commits

David Larlet  committed f9883ce Draft Merge

Merged in nemesisdesign/django-roa/nemesisdesign/changed-xmlfield-with-textfield-because--1375536304757 (pull request #2)

Changed XMLField with TextField because XMLField was deprecated:

  • Participants
  • Parent commits d471957, b0b8985

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)