Project

Profile

Help

Issue #4046

closed

makemigrations seems to ignore custom /etc/pulp/settings.py

Added by jsherril@redhat.com about 6 years ago. Updated almost 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Category:
-
Sprint/Milestone:
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 43
Quarter:

Description

Having a /etc/pulp/settings.py file with:

DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.dummy',
        'NAME': 'pulp',
        'USER': 'pulp',
        'HOST': 'foo',
        'PORT': '5432',
        'CONN_MAX_AGE': 0
    },
}

and running 'pulp-manager makemigrations pulp_app'

it seems that the command is still trying to connect to the local postgresql server

Also available in: Atom PDF