@cspell/dict-django

4.1.0 • Public • Published

CSpell Django Dictionary

Django dictionary for cspell.

This is a pre-built dictionary for use with cspell.

Requirements

Tool Version
cspell >= 6
Code Spell Checker - Visual Studio Code >= 2

Installation

Global Install and add to cspell global settings.

npm install -g @cspell/dict-django
cspell link add @cspell/dict-django

Uninstall from cspell

cspell link remove @cspell/dict-django

Manual Installation

The cspell-ext.json file in this package should be added to the import section in your cspell.json file.

{
    // …
    "import": ["@cspell/dict-django/cspell-ext.json"],
    // …
}

Updating

This dictionary is generated from django's official documentation index : https://docs.djangoproject.com/en/`VERSION`/genindex/. To update it, edit update.pyto match wanted django's VERSION, install requirements (requests and BeautifulSoup) and run the script :

pip install -r requirements.txt
python update.py

Building

Building is only necessary if you want to modify the contents of the dictionary. Note: Building will take a few minutes for large files.

npm run build

License

WTFPL

/@cspell/dict-django/

    Package Sidebar

    Install

    npm i @cspell/dict-django

    Weekly Downloads

    447,479

    Version

    4.1.0

    License

    MIT

    Unpacked Size

    40.3 kB

    Total Files

    6

    Last publish

    Collaborators

    • jason-dent