isort icon indicating copy to clipboard operation
isort copied to clipboard

Breaking order of overriding import * in settings files

Open fmalina opened this issue 4 years ago • 0 comments

When you have custom settings or config overriding base settings, order of imports matters.

from settings.default import *
from settings.custom import *

Reversing order when sorting alphabetically means custom settings no longer override default. This pattern is common enough in my projects that I decided to raise a ticket.

fmalina avatar Dec 23 '21 11:12 fmalina