'Try to execute this command, performing model validation if
needed (as controlled by the attribute
``self.requires_model_validation``, except if force-skipped).'

def execute(self, *args, **options):

    self.stdout = OutputWrapper(options.get(u'stdout', sys.stdout))
    self.stderr = OutputWrapper(options.get(u'stderr', sys.stderr), self.style.ERROR)
    if self.can_import_settings:
        from django.conf import settings
    saved_locale = None
    if (not self.leave_locale_alone):
        if (not self.can_import_settings):
            raise CommandError((u"Incompatible    values    of    'leave_locale_alone'    (%s)    and    'can_import_settings'    (%s)    command    options." % (self.leave_locale_alone, self.can_import_settings)))
        from django.utils import translation
        saved_locale = translation.get_language()
        translation.activate(u'en-us')
    try:
        if (self.requires_model_validation and (not options.get(u'skip_validation'))):
            self.validate()
        output = self.handle(*args, **options)
        if output:
            if self.output_transaction:
                from django.db import connections, DEFAULT_DB_ALIAS
                connection = connections[options.get(u'database', DEFAULT_DB_ALIAS)]
                if connection.ops.start_transaction_sql():
                    self.stdout.write(self.style.SQL_KEYWORD(connection.ops.start_transaction_sql()))
            self.stdout.write(output)
            if self.output_transaction:
                self.stdout.write((u'\n' + self.style.SQL_KEYWORD(u'COMMIT;')))
    finally:
        if (saved_locale is not None):
            translation.activate(saved_locale)
