Skip to content

Cannot run dbshell command with Django 4.1.7 #37

@stj-mv

Description

@stj-mv

./manage.py dbshell gives

...
File "... /django/core/management/commands/dbshell.py", line 30, in handle
connection.client.runshell(options["parameters"])
TypeError: DatabaseClient.runshell() takes 1 positional argument but 2 were given

Reason:
In .../django/db/backends/base/client.py is runshell() defined as
def runshell(self, parameters)
but in ... /django_informixdb/client.py it is defined as
def runshell(self)

This should be easy to fix :-)

Stephan

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions