mirzakhany/django_boilerplate

Ignore local setting files in .gitignore

peymanslh opened this issue · 0 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