A modern CLI tool that replaces 'python manage.py' and 'django-admin' with simpler 'django' or 'dj' commands
Project description
Easy Django CLI
A modern CLI tool that simplifies Django development by replacing python manage.py and django-admin commands with simpler django or dj commands.
Features
- Simpler commands: Use
djangoordjinstead ofpython manage.py - Smart project detection: Automatically finds your
manage.pyfile - Drop-in replacement: Works with all Django management commands
- Zero configuration: Just install and use
Installation
Using uv (recommended)
uv pip install easy-django-cli
Using pip
pip install easy-django-cli
Usage
After installation, you can use django or dj commands instead of python manage.py:
Before (traditional Django)
python manage.py runserver
python manage.py makemigrations
python manage.py migrate
python manage.py createsuperuser
python manage.py shell
After (with easy-django-cli)
django runserver
django makemigrations
django migrate
django createsuperuser
django shell
Or use the even shorter dj alias:
dj runserver
dj makemigrations
dj migrate
dj createsuperuser
dj shell
How It Works
easy-django-cli automatically:
- Searches for
manage.pyin the current directory - If found, executes commands through your project's
manage.py - If not found, falls back to
django-adminfor project creation and other admin commands
This means you can run Django commands from any subdirectory of your project!
Examples
Start the development server
django runserver
# or
dj runserver 0.0.0.0:8000
Create and apply migrations
django makemigrations
django migrate
Create a new Django project
django startproject myproject
Create a new app
django startapp myapp
Run tests
django test
Open Django shell
django shell
Collect static files
django collectstatic --noinput
Requirements
- Python 3.11 or higher
- Django 4.2 or higher
Compatibility
This package is tested with:
- Python: 3.11, 3.12, 3.13, 3.14
- Django: 4.2, 5.0, 5.1, 5.2, 6.0
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
License
This project is licensed under the MIT License - see the LICENSE file for details.
Author
Tim Kamanin - A Freelance Django and Wagtail Developer
Links
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 Distribution
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 easy_django_cli-0.2.0.tar.gz.
File metadata
- Download URL: easy_django_cli-0.2.0.tar.gz
- Upload date:
- Size: 8.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
439ae186de535056e804defb81a0ba16285dc8a25a80cce9503fe24a8954fa6d
|
|
| MD5 |
292673e695a6c973407d44bf85ab4e1f
|
|
| BLAKE2b-256 |
4740c002b4f5dfeb57dd8a3cae6ea0b4e8353f6b51372165c224ed48fcbc23c0
|
Provenance
The following attestation bundles were made for easy_django_cli-0.2.0.tar.gz:
Publisher:
ci.yml on timonweb/easy-django-cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
easy_django_cli-0.2.0.tar.gz -
Subject digest:
439ae186de535056e804defb81a0ba16285dc8a25a80cce9503fe24a8954fa6d - Sigstore transparency entry: 649530195
- Sigstore integration time:
-
Permalink:
timonweb/easy-django-cli@de24aefcf1ca95367b46f73d7364d10504dac194 -
Branch / Tag:
refs/tags/0.2.0 - Owner: https://github.com/timonweb
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@de24aefcf1ca95367b46f73d7364d10504dac194 -
Trigger Event:
push
-
Statement type:
File details
Details for the file easy_django_cli-0.2.0-py3-none-any.whl.
File metadata
- Download URL: easy_django_cli-0.2.0-py3-none-any.whl
- Upload date:
- Size: 7.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9b6a4941024e29d4eaebf311e07214431fc2dbd5b0be298d021270786ff64b7d
|
|
| MD5 |
11d59d683c1faf048491d922a3268d72
|
|
| BLAKE2b-256 |
9e8bebfa0174418dd64f7819cfcbab4288dd534e67bd5ebe102b8a337859e387
|
Provenance
The following attestation bundles were made for easy_django_cli-0.2.0-py3-none-any.whl:
Publisher:
ci.yml on timonweb/easy-django-cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
easy_django_cli-0.2.0-py3-none-any.whl -
Subject digest:
9b6a4941024e29d4eaebf311e07214431fc2dbd5b0be298d021270786ff64b7d - Sigstore transparency entry: 649530240
- Sigstore integration time:
-
Permalink:
timonweb/easy-django-cli@de24aefcf1ca95367b46f73d7364d10504dac194 -
Branch / Tag:
refs/tags/0.2.0 - Owner: https://github.com/timonweb
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@de24aefcf1ca95367b46f73d7364d10504dac194 -
Trigger Event:
push
-
Statement type: