Hello
Can you guide me where is the best place to put site-wide admin
actions?

Is this right place [for example]: global_actions folder (with 2
files: init.py and admin.py) ?

where admin.py:
============

from django.contrib import admin

def export_as_pdf(modeladmin, request, queryset):
    return ''
admin.site.add_action(export_as_pdf)
--~--~---------~--~----~------------~-------~--~----~
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