You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
318 B
10 lines
318 B
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()
|
|
|