forked from expo/troggle
[svn] Re-enable JSON and XML export actions in admin pages now that troggle is using latest SVN version of Django.
This commit is contained in:
parent
93a68ff43e
commit
02db5a9170
@ -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'])
|
||||
|
Loading…
Reference in New Issue
Block a user