Remove commented lines
This commit is contained in:
@@ -2,11 +2,6 @@ from __future__ import absolute_import
|
||||
|
||||
import logging
|
||||
|
||||
#try:
|
||||
# from cStringIO import StringIO
|
||||
#except ImportError:
|
||||
# from StringIO import StringIO
|
||||
|
||||
from django.db import models
|
||||
from django.core import serializers
|
||||
|
||||
@@ -25,12 +20,6 @@ class BootstrapSetupManager(models.Manager):
|
||||
|
||||
def dump(self, serialization_format):
|
||||
result = []
|
||||
#models = [instance.get_fullname()
|
||||
for bootstrap_model in BootstrapModel.get_all():
|
||||
#logger.debug('models: %s' % models)
|
||||
#options = dict(indent=4, format=format, use_natural_keys=True, interactive=False, verbosity=0, stdout=result)
|
||||
#management.call_command(COMMAND_DUMPDATA, *models, **options)
|
||||
#logger.debug('result: %s' % result)
|
||||
result.append(bootstrap_model.dump(serialization_format))
|
||||
#return result.read()
|
||||
return '\n'.join(result)
|
||||
|
||||
Reference in New Issue
Block a user