On Jan 25, 11:57 am, Michael Hipp <[EMAIL PROTECTED]> wrote:
> When creating a field that will hold HTML snippets, should it be created
> as a CharField or an XMLField (or something else)?

Either of those would work. The XMLField would require you to
guarantee that the HTML snippet is valid XML. I would recommend a
TextField:

http://www.djangoproject.com/documentation/model-api/#textfield

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to