DJX – Rails-inspired scaffolding CLI for Django (convention over configuration)

Hi Django community,

I built DJX, a CLI tool that brings convention over configuration to Django — inspired by Rails scaffolding.

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.                                                           

It generates the model, all 5 class-based views, templates, and URLs — all wired into your project automatically.

Other commands:

  • djx routes — see all routes in a clean table
  • djx destroy scaffold Post — clean removal
  • djx add <package> — install and auto-add to INSTALLED_APPS

It’s early stage and I’d love feedback from the Django community.

GitHub: GitHub - RedsonNgwira/djx-cli: Convention over configuration for Django. Rails-like scaffolding and generators. · GitHub
PyPI: djx-cli · PyPI

Built with :heart: from Malawi :malawi: