Django administration - Allow full HTML for a TextField form
I've tried enabling 'allow_tags' for a TextField, but the admin tools
still encode the text when inserting or updating rows.
Is the following code correct?
some_field = models.TextField()
some_field.allow_tags = True
I can't even edit the HTML with phpPgAdmin because it does the same
thing, so I'm forced to use pure SQL. Imagine updating a field with
5000+ char HTML with SQL ;)
I hope somebody here knows a way to edit HTML from a DB more
conveniently... Even if it's not Django-based.
--
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 django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home