Skip to content

Getting current connection string #216

@ihelmer07

Description

@ihelmer07

I have a project where I connect to multiple read-only MS SQL2014 servers.
I'm trying to ensure my connection string is correct however I don't know of a method to get the connection string used to connect to the server.

django.db import connections does not have the connection string property, only the dictionary that I set in settings.py.

Anyone know of a method to get the connectionstring used in the connection?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions