Skip to content

Instantly share code, notes, and snippets.

@tuanngominh
Last active September 13, 2018 07:47
Show Gist options
  • Select an option

  • Save tuanngominh/774efebb0ad2c6e653d493ba2e64df8a to your computer and use it in GitHub Desktop.

Select an option

Save tuanngominh/774efebb0ad2c6e653d493ba2e64df8a to your computer and use it in GitHub Desktop.
Setup django with vscode
# Goals:
# - Setup django with virtual environment so can lint correctly in VScode
# Steps:
# Using venv instead of virtualenv
# Install package, run server in VSCode's python terminal
# Enable django for pylint, add to VSCode's setting: "python.linting.pylintArgs": ["--load-plugins", "pylint_django"]
# References
# - https://github.com/Microsoft/vscode-python/issues/1185
# - https://code.visualstudio.com/docs/python/tutorial-flask
# - https://code.visualstudio.com/docs/python/environments#_choosing-an-environment
# - https://code.visualstudio.com/docs/python/linting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment