A language server for the Django web framework
Project description
django-language-server
A language server for the Django web framework.
[!CAUTION] This project is in early stages.
AllMost features are incomplete and missing.
Features
-
Completions - Template tag autocompletion with snippets
-
Diagnostics - Real-time error checking and validation
-
Go to definition - Jump to template, block, or variable definitions
-
Find references - See where templates and blocks are used
-
Hover - View documentation and type info on hover
-
Rename - Refactor names across files
-
Formatting - Auto-format templates
-
Code actions - Quick fixes and refactorings
-
Document symbols - Outline view of template structure
-
Workspace symbols - Search across all project templates
-
Signature help - Parameter hints while typing
Getting Started
Set up your editor's LSP client to run the server:
- VS Code - Install the extension from the marketplace
- Neovim - Configure with
vim.lsp.config() - Sublime Text - Set up with LSP package
- Zed - Install the extension
See all client configurations.
Most editors can use uvx --from django-language-server djls serve to run the server on-demand without installing it. Alternatively, install it globally first:
uv tool install django-language-server
# or: pipx install django-language-server
See the Installation guide for more options including pip, standalone binaries, and building from source.
Once configured, open any Django template file in your project to get:
- Template tag completions with snippets
- Real-time syntax validation and diagnostics
- Navigation to template definitions and references
Documentation
Visit djls.joshthomas.dev for full documentation including installation guides, configuration options, and editor setup instructions.
License
django-language-server is licensed under the Apache License, Version 2.0. See the LICENSE file for more information.
django-language-server is not associated with the Django Software Foundation.
Django is a registered trademark of the Django Software Foundation.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file django_language_server-6.0.0.tar.gz.
File metadata
- Download URL: django_language_server-6.0.0.tar.gz
- Upload date:
- Size: 132.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.10.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
20ec16d878f916617130225b05bde38e0bcd42648277f04a1f658afb82b42ab7
|
|
| MD5 |
e0f5e0c78ad89b427d59fdb0a55a847b
|
|
| BLAKE2b-256 |
3f7abcd50b585b377d20f247ea53c6349df65db5253bcc846d732efbf4196e85
|
File details
Details for the file django_language_server-6.0.0-py3-none-win_amd64.whl.
File metadata
- Download URL: django_language_server-6.0.0-py3-none-win_amd64.whl
- Upload date:
- Size: 3.1 MB
- Tags: Python 3, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.10.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
261d131d9f15258f1ab3b7bc3a24e55954e0435244d1c7cdba13341c9ba01622
|
|
| MD5 |
50d750f44c4e519a6a53f75252ba6b8b
|
|
| BLAKE2b-256 |
dd5ad513ce508c857633f568f31ce94165b26f84991d5d22f86c8129a34e8e85
|
File details
Details for the file django_language_server-6.0.0-py3-none-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: django_language_server-6.0.0-py3-none-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 3.2 MB
- Tags: Python 3, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.10.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9e1efcccf8c6c634662e00e9ac7cb8e2d29a6e06780e4626b59a57e0adaa71f5
|
|
| MD5 |
9753ffb83c6c3bfdda2fc6a3ca253efb
|
|
| BLAKE2b-256 |
740afb6580ec7e01c0bb11c8a4fc07bbe786a2e68947ea445e64ab4f39a2ded7
|
File details
Details for the file django_language_server-6.0.0-py3-none-musllinux_1_2_aarch64.whl.
File metadata
- Download URL: django_language_server-6.0.0-py3-none-musllinux_1_2_aarch64.whl
- Upload date:
- Size: 3.0 MB
- Tags: Python 3, musllinux: musl 1.2+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.10.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
64b9a136615641e24a77563a305007a0d96ba215eb1ba8544b9940c8082dd2b2
|
|
| MD5 |
c9b419e9235bef7dc110f5e8aad138f2
|
|
| BLAKE2b-256 |
271ddde434f1b1cba618b31b9d8f03e158a498b5b6d143a5301bef1d64da4dcc
|
File details
Details for the file django_language_server-6.0.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: django_language_server-6.0.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 3.2 MB
- Tags: Python 3, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.10.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9bc3a73535d8692e5660a418b5c970982d78e0268526e939f93a3625e4e7c9a8
|
|
| MD5 |
7df55141b554cf9df41c2bc7032043ce
|
|
| BLAKE2b-256 |
4f85de66c5e0f257519d65c0e40091b8d337b5a9fd32aceb36622736a1997b9e
|
File details
Details for the file django_language_server-6.0.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.
File metadata
- Download URL: django_language_server-6.0.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 3.0 MB
- Tags: Python 3, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.10.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
06447e49d48719f2b9842bccae3e9261d0032ecef345f9af05859db68bc02f52
|
|
| MD5 |
b4c724086865bf9b1c423e1bab996aa7
|
|
| BLAKE2b-256 |
934cab1a7f236aadba9aff11c771b8ea3ecf814ac7ea0430efca7de459351d46
|
File details
Details for the file django_language_server-6.0.0-py3-none-macosx_11_0_arm64.whl.
File metadata
- Download URL: django_language_server-6.0.0-py3-none-macosx_11_0_arm64.whl
- Upload date:
- Size: 3.0 MB
- Tags: Python 3, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.10.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bc147c5cf5a4de315c292fd976051c65515a5494094ddbe4b5779568f0c8ed11
|
|
| MD5 |
8d2b49adb02d525effa24cff2ebce609
|
|
| BLAKE2b-256 |
c5fc2c28d9f2007b11c6eaee658b345811e3447d5afd826410b66033c77aeb08
|
File details
Details for the file django_language_server-6.0.0-py3-none-macosx_10_12_x86_64.whl.
File metadata
- Download URL: django_language_server-6.0.0-py3-none-macosx_10_12_x86_64.whl
- Upload date:
- Size: 3.1 MB
- Tags: Python 3, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.10.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7307691ee31852e67c028ef1ba7fc897a45224c43eed3bbfd43662b82c7aed75
|
|
| MD5 |
88dae8999a14c9d700a20f42eb708bac
|
|
| BLAKE2b-256 |
dadb2d501e4dcb600075d3ba6923e1e6f573811964067546eaa3ae08e2cc9427
|