You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to django...@googlegroups.com
just after your for loop, you can call ajax function which takes the values of your newly created lists and submits this further to your view. you dont need to load the whole page and the data will silently go to your view.
voss
unread,
May 14, 2012, 9:00:47 AM5/14/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to django...@googlegroups.com
Thanks, Nik. The list is actually a result of dnd and dojo.cookie. For some reason, creating hidden input nodes does not work in this case.
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to django...@googlegroups.com
Hi Am, this sounds like a good idea, and I think it may work in my case (with dajax). Thank you!
I have a question, though. I know that with dajax, the data is passed to the ajax views in ajax.py, and the result is then sent back to the same html page. But how exactly does your method work? (I have no experience in ajax.) For example, how do you call an ajax function and how do you link it to views.py?
doniyor
unread,
May 15, 2012, 7:37:12 AM5/15/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to django...@googlegroups.com
ajax is not that different from dajax.. actually almost same logic.. but look, i try to explain how it should work..
and what it does is: it sends the data to /ajax/ url, and you catch it in your urls and forward it to your views.. then process the data and you are lucky..
voss
unread,
May 15, 2012, 8:59:25 AM5/15/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to django...@googlegroups.com
Hi Am, thank you so much for the explanation. It is very helpful! And thank you for the idea of using ajax for my problem. I used dajax and it is working nicely!