blob: 18faa6a1305186d4e9c3d1f6772233bee70381aa (
plain)
1
2
3
4
5
6
7
8
9
10
|
from django.core.management.base import NoArgsCommand
class Command(NoArgsCommand):
help = "Runs the command-line client for the current DATABASE_ENGINE."
requires_model_validation = False
def handle_noargs(self, **options):
from django.db import connection
connection.client.runshell()
|