Registry / web-framework / django-click

django-click

JSON →
library2.5.0pypypiunverified

Build Django management commands using the click CLI package. Version 2.5.0; supports Python >=3.10 and Django up to 6.0. Release cadence: infrequent, driven by compatibility updates.

pip install django-click
INSTALL
IMPORT
SIG · DJANGO-CLICK
D
django-click
web-frameworkpythonv2.5.0
Install
1.6s avg
Import
Disk
17MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v2.5.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 18.7MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 1.6s · import 0.000s · 19MB
17MB installed
● package 17MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

command
from djclick import command
from django_click import command

Create a Django management command named 'hello' using click decorators.

# my_app/management/commands/hello.py from django.core.management.base import BaseCommand from django_click import command import click @command(BaseCommand) @click.option('--name', default='World') def hello(name): click.echo(f'Hello {name}')
Debug
Known issues
breakingDjango-click 2.5.0 drops support for Python <3.10 and Django <4.2. Upgrade your environment if using older versions.
fix
Upgrade Python to >=3.10 and Django to >=4.2, then install django-click 2.5.0.
affects: <2.5.0
gotchaCommands must be decorated with @command(BaseCommand) and the function name must be all lowercase, as it becomes the management command name.
fix
Ensure the function name matches the command name (e.g., 'def my_command(...)').
affects: all
deprecatedThe 'django_click.decorators' module is deprecated; import directly from 'django_click'.
fix
Change 'from django_click.decorators import command' to 'from django_click import command'.
affects: >=2.3.0
Upgrade
Version history
2.5.0latest on PyPI · released Jan 10, 2026
Audit
Dependencies
djangorequiredRequired: Django management command framework.
clickrequiredRequired: CLI library used to define commands.
Agent activity
5 hits · last 30 days
node
4
Resources
django-click — pip install django-click · libregistry