Django installs statistics
By Baptiste Darthenay · VS Code Marketplace · Programming Languages
Beautiful syntax and scoped snippets for perfectionists with deadlines
Django has 18,396,839 recorded installs on VS Code Marketplace, an increase of 0.8% over the past 30 days, ranking #60 of 2,515 tracked listings.
Rating: 4.24 / 5 from 140 ratings
About Django
Django extension for Visual Studio Code
Beautiful syntax and scoped snippets for perfectionists with deadlines

Features
Templates stay HTML
Your templates open as regular HTML files, with the Django syntax highlighted on top:
tags, variables, filters and comments, even inside attributes, <style> and <script>.
Everything VS Code and your other extensions do for HTML keeps working in templates: tag and attribute completion, auto-closing and linked editing of tags, Emmet, the CSS color picker, Tailwind CSS, Alpine.js, htmx…
The Django syntax is highlighted in every HTML file, while the features below are only active
in templates, which are the files in a templates or jinja2 folder.
Other templates, like emails in .txt files, use the django-txt language.
Go to definition
Ctrl+click (Cmd+click on macOS) or press F12 on a template path, like in an {% include %}
or {% extends %} tag or in a view, to jump to this template.
It also works on django-cotton components, like <c-card> or <c-forms.text-input />.
Set django.cotton.dir if you changed COTTON_DIR.
F12 on the name of a tag opens the function that registers it: your own templatetags modules
(@register.tag, @register.simple_tag, @register.inclusion_tag, whatever the name of the function),
or, when the virtual environment is inside the workspace, like .venv, the source of Django for its tags
like {% if %} and the packages you installed, like django-vite.
On the library of a {% load %} tag, like myapp_tags in {% load myapp_tags i18n %}, it opens the module
of the library, in your project, in Django (i18n, static, humanize…) or in an installed package
(django_vite/templatetags/django_vite.py).
Links to the documentation, URLs and static files
In templates, <kbd>Ctrl</kbd>+click (<kbd>Cmd</kbd>+click on macOS) on:
- the name of a tag or a filter of Django, like
{% firstof %}or|date, opens its page in the Django documentation, for the version of Django of your project. The version is read from the virtual environment when it is inside the workspace, and the stable version is used otherwise. - the name of a custom tag, like
{% custom_tag "app.js" %}, opens the function in yourtemplatetagsmodules that registers it, or in the package of the virtual environment when the template loads its library. When two libraries define the same tag, the one loaded by the template comes first. block.superin{{ block.super }}opens the same block in the parent template. If the parent template does not define the block, it goes up the{% extends %}chain to the first template that does.{% block %}opens the guide on template inheritance.- a
{% url %}tag opens theurls.pyon the name of the URL pattern, likename="detail"for{% url 'blog:detail' pk=post.pk %}. With a namespace, theurls.pywhoseapp_namematches comes first. - a
{% static %}tag opens the file from astaticfolder.
{% extends %} and {% include %} still open the template, and {% load %} goes to its libraries,
as described in the previous section.
VS Code's HTML support turns every href, src and action value into a link to a file. These links are replaced
by the ones above when the value has a Django tag or filter. Other values with a variable,
like href="/blog/{{ post.slug }}/", still get the HTML link.
Go to references
Shift+F12 answers "where is this used?":
- on a custom tag in a template, or on the function that registers it in a
templatetagsmodule: the templates that use the tag, - on the name of a block, like
{% block content %}: the templates that define or override it, - on the path of a template, like in
{% extends "app/base.html" %}orrender(request, "app/base.html"): the templates and the Python code that use it.
Snippets
- Template tags and filters in templates.
- Python snippets in
models.py,views.py,forms.py,admin.py,urls.py, migrations… each file only gets the snippets that make sense there. - Snippets use the selected or copied text when it fits, without unnecessary new lines.
Formatting
The extension can format templates with the tool your project already uses.
Install one of them, then set django.format.command to a command that reads the template on stdin
and writes the result on stdout:
| Tool | django.format.command | Formats |
|---|---|---|
| djLint | ["djlint", "-", "--reformat"] | HTML and template tags |
| djangofmt | ["djangofmt", "-"] | HTML and template tags |
| djade | ["djade", "-"] | Template tags only |
| DjHTML | ["djhtml", "-"] | Indentation only |
Tools installed in the project .venv are found first. Each tool reads its own configuration,
like [tool.djlint] in pyproject.toml, so the editor formats like your pre-commit hooks and CI.
Templates are HTML files, so VS Code's HTML formatter can format them too, but it doesn't know the
Django syntax. Once django.format.command is set, choose Django when VS Code asks which formatter
to use for HTML files. Formatting runs on your machine, so it is not available in VS Code for the Web.…
Description from the VS Code Marketplace listing.
- django
- DjangoHTML
- django-html
- Djangotxt
- django-txt
- html
- python
- snippet
- web
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Ratings over time
Listing placement
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Installs on a linear scale. Placement is projected from installs, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (50)Similar VS Code Marketplace Programming Languages plugins
All 20 Django alternativesDjango on other marketplaces
Data source
Install counts, average rating, and rating counts come from the public Visual Studio Marketplace gallery API. Installs are cumulative and exclude updates.
Listing: https://marketplace.visualstudio.com/items?itemName=batisteo.vscode-django. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.