File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22import os
33import sys
44
5+ # In production environments you might want to copy this file next to you .env and run
6+ # management commands from there. In case, uncomment these lines on the copy:
7+ # from dotenv import load_dotenv
8+ # load_dotenv()
9+
510if __name__ == "__main__" :
611 # Line commented (force settings file):
712 # os.environ.setdefault("DJANGO_SETTINGS_MODULE", "djangosnippets.settings.development")
Original file line number Diff line number Diff line change 3737 'plotly>=5.10.0' ,
3838 'kaleido>=0.2.1' , # required by plotly to save images
3939 'gunicorn>=21.2.0' , # production server (not necessary local browser testing, but harmless)
40+ 'python-dotenv>=1.2.2' # same as above (might be useful if we use .env in dev mode)
4041 # test packages:
4142 'pytest' ,
4243 'pytest-django>=3.4.8' ,
You can’t perform that action at this time.
0 commit comments