Last active
September 13, 2018 07:47
-
-
Save tuanngominh/774efebb0ad2c6e653d493ba2e64df8a to your computer and use it in GitHub Desktop.
Setup django with vscode
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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