Skip to content

on_production_server returns False for manage.py remote #30

Open
@egasimus

Description

@egasimus

I'm using a Google Cloud SQL database in production, as well as a local MySQL database for development. Which database is active at a given time is determined in settings.py by on_production_server. However, when trying to run South migrations on the remote DB using manage.py remote migrate, on_production_server defaulted to False.

Therefore, on_production_server needs to take into account if the command has been run using manage.py remote.

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