Hi folks --

A quick heads-up to anyone already developing admin actions against 1.1 beta:

Because of a few bugs in the design of admin actions, I've needed to
make a small backwards-incompatible change to the signature of action
functions. If you've been defining actions as methods on your
ModelAdmin no worries, but if you've been using standalone functions,
you'll need to change them to add a new argument.

Old::

    def my_action(request, queryset):
        ...

New::

    def my_action(modeladmin, request, queryset):
        ...

You can read more about the change and why it was needed in the
changeset (http://code.djangoproject.com/changeset/10408), and you can
read about the new features that required this change at
http://docs.djangoproject.com/en/dev/ref/contrib/admin/actions/#advanced-action-techniques.

Jacob

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-developers@googlegroups.com
To unsubscribe from this group, send email to 
django-developers+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to