Ticket #6650: sqlreset.patch
File sqlreset.patch, 547 bytes (added by , 17 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: sr = sr.encode('utf-8') 12 return sr