Skip to content

Instantly share code, notes, and snippets.

@tombohub
Last active April 9, 2024 21:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tombohub/47203a5f6b06412a1c05a8e283807fd3 to your computer and use it in GitHub Desktop.
Save tombohub/47203a5f6b06412a1c05a8e283807fd3 to your computer and use it in GitHub Desktop.
# upgrade pip
pip install -U pip
# django
pip install django
# environment variables
pip install python-decouple
# better shell
# must update django apps in settings
pip install django-extensions
pip install ipython
# debug tool
pip install django-debug-toolbar
pip install django-silk
# help debugging
pip install devtools -d
# hot reload template changes
# https://github.com/adamchainz/django-browser-reload
pip install django-browser-reload
# for storing images and files
# https://django-storages.readthedocs.io/en/latest/
pip install django-storages
# to customize forms
$ pip install django-widget-tweaks
#serving static files
pip install whitenoise
# cors headers
pip install django-cors-headers
# data exploration
# https://pypi.org/project/django-data-browser/
pip install django-data-browser
#
# postgresql driver
pip install pyscopg2
# typings for vscode
#download into folder 'typings' in root
https://github.com/typeddjango/django-stubs/tree/master/django-stubs
# formatting
pip install black
# type checking
pip install mypy
# linting
pip install pylint-django
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment