On 7/24/07, Michal Konvalinka <[EMAIL PROTECTED]> wrote: > It works but I would like to ask If I am violating some Django > principles or not.
Your example is correct, and you aren't violating any 'Django principles'. Django provides decorators because it can be convenient to wrap a whole function as a transaction. However, that's not the way _all_ code needs to work, so the manual mechanisms (which you have discovered) also exist. Feel free to use whatever mechanism suits your needs. Yours, Russ Magee %-) --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---