views without forms
hi,
I have been given an app in production to develop further. Since it is
natural for any developer to rubbish the efforts of his predecessor, I
am posting this partly for a sanity check and partly to check on best
practices.
The app does not use forms. The forms are in js and ajax is used to send
the data to and from the views. The data is not validated on the server
side and all save() statements are enclosed in try-except blocks. The db
is mysql. This does not look like a good practice to me - surely one can
use django forms with ajax? Opinions?
--
regards
Kenneth Gonsalves
http://lawgon.livejournal.com/
--
regards
KG
http://lawgon.livejournal.com
Coimbatore LUG rox
http://ilugcbe.techstud.org/
--
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