Your user will not have access to your database from the browser, so
you cannot do any kind of create, update and deletes from templates
directly.
It will always have to go through POST on your views. You could do
some AJAX to avoid web-page roundtrips, but then again, you will be
using views to do this. Never your template.

maeck

On Dec 8, 2:25 am, Vicky <[EMAIL PROTECTED]> wrote:
> Is there any way to insert, retrieve, delete and update tables in a
> database from templates itself?
--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to