mirror of
https://github.com/django/django.git
synced 2024-12-01 15:42:04 +01:00
Remove useless override of self.style
This commit is contained in:
parent
588b523233
commit
679627660f
@ -6,7 +6,7 @@ import traceback
|
||||
from django.conf import settings
|
||||
from django.core.management import call_command
|
||||
from django.core.management.base import BaseCommand, CommandError
|
||||
from django.core.management.color import color_style, no_style
|
||||
from django.core.management.color import no_style
|
||||
from django.core.management.sql import custom_sql_for_model, emit_post_migrate_signal, emit_pre_migrate_signal
|
||||
from django.db import connections, router, transaction, models, DEFAULT_DB_ALIAS
|
||||
from django.db.migrations.executor import MigrationExecutor
|
||||
@ -38,8 +38,6 @@ class Command(BaseCommand):
|
||||
self.load_initial_data = options.get('load_initial_data')
|
||||
self.test_database = options.get('test_database', False)
|
||||
|
||||
self.style = color_style()
|
||||
|
||||
# Import the 'management' module within each installed app, to register
|
||||
# dispatcher events.
|
||||
for app_name in settings.INSTALLED_APPS:
|
||||
|
Loading…
Reference in New Issue
Block a user