mirzakhany / django_boilerplate

a django boilderplate

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ignore local setting files in .gitignore

peymanslh opened this issue · comments

These files are imported in src/proj/settings/__init__.py, but they're not included in the .gitignore file.

  • src/proj/settings/.local.py
  • src/proj/settings/.prod.py

__init__ file:

try:
    from .local import *  # noqa: F401, F403
except ImportError:
    from .prod import *  # noqa: F401, F403