Skip to content

Allow new meta attribute 'using' for multiple database scenarios  #39

@atkawa7

Description

@atkawa7

Django pgviews current fails to work with multiple databases. The issue is the connection get called with the default database but not the alternative one. To fix that I added a meta attribute 'using' then check that in the view sync runbacklog function
https://github.com/atkawa7/django-pgviews/commit/f73ca72cfa4ff3d3a038f5cbff28cce75478bd47
https://github.com/atkawa7/django-pgviews/commit/b6b45b65202ad0f7feeb02edf72f5e388ae8fa46

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