We store the field structure using JSON and then use that information to 
construct a django ModelField (so django can render the html and do 
validation).

If you just want to be able to create HTML form elements (without backend 
validation), I think storing them as HTML is the way to go, rather than 
somehow translating them to JSON and back. If needed, you can store extra 
information using class="" or data-*="".

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/678735de-3d19-4dfe-a317-7d9305da9691%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to