I'm upgrading my .97 app to 1.0 and I'm trying to figure out
transactions and caching ...

In my app at present I have ...

def event_editor(request):

  .................

  return

# Defeat caching for the event_editor
function event_editor = cache_control(no_cache=True)(event_editor)

# The transacton autocommit for event_editor
event_editor = transaction.autocommit(event_editor)

I'm reading the 1.0 docs and it seems to suggest that I use something
like this instead ...

@transaction.autocommit
def event_editor(request):

I'm just wondering whether this is a compulsory django upgrade. I
didn't see it anywhere in the backwards compatibility listings. Can I
leave things the way they are and have it working still ?

What about caching ? Will that still work also ... ?

--~--~---------~--~----~------------~-------~--~----~
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