sitetree/admin.py
def dump_view(cls, request):
        """Dumps sitetrees with items using django-smuggler.

        :param request:
        :return:
        """
        from smuggler.views import dump_to_response
        return dump_to_response(request, [MODEL_TREE, MODEL_TREE_ITEM], filename_prefix='sitetrees')
def dump_view(cls, request):
        from smuggler.views import dump_to_response
        return dump_to_response(request, [MODEL_TREE, MODEL_TREE_ITEM], filename_prefix='sitetrees')
def dump_view ( cls , request ) : from smuggler . views import dump_to_response return dump_to_response ( request , [ MODEL_TREE , MODEL_TREE_ITEM ] , filename_prefix = 'sitetrees' )
Dumps sitetrees with items using django-smuggler.

        :param request:
        :return:
Dumps sitetrees with items using django - smuggler .