Ticket #6650: 6650.diff
File 6650.diff, 589 bytes (added by , 16 years ago) |
---|
-
django/core/management/commands/sqlreset.py
7 7 8 8 def handle_app(self, app, **options): 9 9 from django.core.management.sql import sql_reset 10 return '\n'.join(sql_reset(app, self.style)) 10 sr = '\n'.join(sql_reset(app, self.style)) 11 if type(sr) == unicode: 12 sr = sr.encode('utf-8') 13 return sr 14 No newline at end of file