app/django/core/management/commands/sqlflush.py
changeset 323 ff1a9aa48cfd
parent 54 03e267d67478
equal deleted inserted replaced
322:6641e941ef1e 323:ff1a9aa48cfd
     5 
     5 
     6     output_transaction = True
     6     output_transaction = True
     7 
     7 
     8     def handle_noargs(self, **options):
     8     def handle_noargs(self, **options):
     9         from django.core.management.sql import sql_flush
     9         from django.core.management.sql import sql_flush
    10         return '\n'.join(sql_flush(self.style, only_django=True))
    10         return u'\n'.join(sql_flush(self.style, only_django=True)).encode('utf-8')