Show HN: DJX – Convention over Configuration for Django (Rails-Inspired CLI)
RedsonNgwira Friday, March 13, 2026Hi HN,
I'm a self-taught developer from Malawi, and I built DJX because I was tired of writing the same Django boilerplate over and over.
Django is powerful, but starting a new feature means manually creating models, views, templates, URLs, and wiring everything together. Rails solved this 20 years ago with scaffolding. Django deserves the same.
DJX brings convention over configuration to Django:
pip install djx-cli
djx new myblog && cd myblog
djx scaffold Post title:string content:text published:boolean
python manage.py migrate && python manage.py runserver
# → http://127.0.0.1:8000/posts/ — full CRUD. Done.
That's it. You get list, create, edit, and delete views with templates, all wired up automatically.Other commands: - `djx routes` — see all URL routes (Django doesn't have this built-in) - `djx destroy scaffold Post` — clean removal of generated code - `djx add django-crispy-forms` — install and auto-add to INSTALLED_APPS - `djx model`, `djx controller` — generate pieces individually
It follows Rails conventions: pluralized app names, RESTful URLs, automatic timestamps, and sensible defaults.
I built this because I wanted Django development to feel as fast as Rails. It's early stage, but it's already saving me hours on every project.
PyPI: https://pypi.org/project/djx-cli/ GitHub: https://github.com/RedsonNgwira/djx-cli
Would love your feedback and contributions. What other Rails-like features would make Django development faster?