Ticket #6650: 6650.diff

File 6650.diff, 589 bytes (added by Simon Greenhill, 16 years ago)

updated patch

  • django/core/management/commands/sqlreset.py

     
    77
    88    def handle_app(self, app, **options):
    99        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
Back to Top