Please enable JavaScript.
Coggle requires JavaScript to display documents.
Django Best Practi (debug (ipython (already in ./manage.py shell), ipdb?,…
Django Best Practi
debug
ipython (already in ./manage.py shell)
ipdb?
django-debug-toolbar
Security
https
turn off debug on prod
keep secret on env
utilities
Create core app contains modules which contain functions and objects for use across prj
check django.utils package
translation, datetime
API design
API views should go into views.py
keep business logic out of API views
logger
try sentry
app
each app should be tightly focused on its task
references
https://www.slideshare.net/accavdar/django-best-practices-46944311
Comply with PEP8 and PYLINT
Pylint has limitation checking with framework
Try Fabric
deployment nginx + gunicorn + supervisord(optional)
Celery for asyn/schedule
Documentation with Swagger