From 470fe5a1d193f5b98ca3ac74aa278668e3c80e6e Mon Sep 17 00:00:00 2001 From: substantialnoninfringinguser Date: Sat, 23 May 2009 20:37:42 +0100 Subject: [PATCH] [svn] Re-enable JSON and XML export actions in admin pages now that troggle is using latest SVN version of Django. --- expo/admin.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/expo/admin.py b/expo/admin.py index 247b4b1..e2c2e49 100644 --- a/expo/admin.py +++ b/expo/admin.py @@ -113,10 +113,9 @@ def export_as_python(modeladmin, request, queryset): serializers.serialize("json", queryset, stream=response) return response -#These require django newer than 1.0 (SVN version) so we'll have to wait. -#admin.site.add_action(export_as_xml) -#admin.site.add_action(export_as_json) -#admin.site.add_action(export_as_python) +admin.site.add_action(export_as_xml) +admin.site.add_action(export_as_json) +admin.site.add_action(export_as_python) try: mptt.register(Subcave, order_insertion_by=['name'])