UNPKG

@cspell/dict-django

Version:
116 lines (71 loc) 2.81 kB
# CSpell Django Dictionary Django dictionary for cspell. This is a pre-built dictionary for use with cspell. <!--- @@inject: ../../static/requirements.md ---> ## Requirements | Tool | Version | | ------------------------------------------------------------------------------------------------------------------------------------ | ------- | | [cspell](https://github.com/streetsidesoftware/cspell) | `>= 8` | | [Code Spell Checker - Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=streetsidesoftware.code-spell-checker) | `>= 4` | <!--- @@inject-end: ../../static/requirements.md ---> <!--- @@inject: ./static/install.md ---> ## Local Installation **This package is bundled with CSpell.** ## Configuration <details> <summary>VSCode Settings</summary> Add the following to your VSCode settings: **`.vscode/settings.json`** ```jsonc { "cSpell.dictionaries": ["django"], } ``` </details> <details> <summary>CSpell Settings `cspell.json`</summary> **`cspell.json`** ```jsonc { "dictionaries": ["django"], } ``` </details> <details> <summary>CSpell Settings `cspell.config.yaml`</summary> **`cspell.config.yaml`** ```yaml dictionaries: - django ``` </details> > [!NOTE] > **This package is bundled with CSpell.** <!--- @@inject-end: ./static/install.md ---> <!--- @@inject: ../../static/contributing.md ---> ## Contributing Please help correct any mistakes in the dictionaries. See: [Contributing](https://github.com/streetsidesoftware/cspell-dicts#contributing) Special thanks to all of our amazing contributors! ### Dictionary Development See: [How to Create a New Dictionary](https://github.com/streetsidesoftware/cspell-dicts#how-to-create-a-new-dictionary) <!--- @@inject-end: ../../static/contributing.md ---> ## Updating <!--- cspell:ignore genindex ---> This dictionary is generated from django's official documentation index : [genindex/](https://docs.djangoproject.com/en/`VERSION`/genindex/). To update it, edit `update.py`to match wanted django's `VERSION`, install requirements ([requests](http://docs.python-requests.org) and [BeautifulSoup](https://www.crummy.com/software/BeautifulSoup/)) and run the script : ```sh pip install -r requirements.txt python update.py ``` ## License WTFPL <!--- @@inject: ../../static/footer.md ---> <br/> --- <p align="center"> Brought to you by <a href="https://streetsidesoftware.com" title="Street Side Software"> <img width="16" alt="Street Side Software Logo" src="https://i.imgur.com/CyduuVY.png" /> Street Side Software </a> </p> <!--- @@inject-end: ../../static/footer.md --->