Skip to content

alternative socket path for postgis #264

@vchrisb

Description

@vchrisb

For "postgres//..." it is possible to configure an alternative socket path.
This is handled here: https://github.com/joke2k/django-environ/blob/master/environ/environ.py#L405

But this option is not enabled for postgist, making it not possible to configure a non standard socket path.

I guess it should be:
if url.scheme == 'postgres' or url.scheme == 'postgis' and path.startswith('/'):

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions