I'm following the below answer on separating development and production Django settings file.
https://stackoverflow.com/a/54292952/15166930
After separating, would I delete the original settings.py file?
Is this the common practice on separating the files? I see multiple methods on that SO post.
Also, per the SO answer, I'm to update the BASE_DIR in my base.py file to
BASE_DIR = Path(file).resolve().parent.parent.parent
right now it's as below:
settings.py
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
Just want to confirm because the two are so different.. thx (Django 2.1.7)