Easiest way to ajax enable django forms

39 views
Skip to first unread message

J Singh

unread,
Jul 13, 2016, 3:36:01 PM7/13/16
to Django users
I want functionality such as add/delete line items to an order , do not want a form resubmit every time an item is added . What is the best way to do this without having to use angular/ react etc

ludovic coues

unread,
Jul 14, 2016, 5:34:48 AM7/14/16
to django...@googlegroups.com
A JS library like Jquery or plain javascript.
Listen to event, intercept & cancel them, make the query to django,
insert or remove the appropriate item.
> --
> 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...@googlegroups.com.
> To post to this group, send email to django...@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/9fdac377-aeb0-4b5c-b3fc-f57a64b4f5f3%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



--

Cordialement, Coues Ludovic
+336 148 743 42

Derek

unread,
Jul 14, 2016, 10:58:14 AM7/14/16
to Django users
Reply all
Reply to author
Forward
0 new messages