For a new project, I'm planning to use the database-level autocommit  
functionality for Postgres as described in:

        http://docs.djangoproject.com/en/dev/ref/databases/#ref-databases

For view functions that do database modification, I'll wrap them in  
the appropriate start/end transaction handling.  Is there an existing  
decorator function that would be useful for that?  Rolling my own  
doesn't seem too intimidating, but if one already exists, why not use  
it?

Thanks!
--
-- Christophe Pettus
    x...@thebuild.com


--~--~---------~--~----~------------~-------~--~----~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to