How toluwalemi/porosdjango works
Project type and purpose
• POROSDJANGO is an open‑source CLI tool whose sole responsibility is to scaffold (bootstrap) a new Django project with opinionated defaults (custom user model, REST framework, folder structure, etc.).
File structure
• Top‑level files:
• README.md, .gitignore, pyproject.toml, .pre‑commit‑config.yaml
• Package “porosdjango” contains:
• cli.py – entry‑point for the command‑line interface
• exceptions.py – custom error classes for control flow and validation
• utils.py – filesystem helpers, context builders, path resolvers
• templates/models.py.j2 – Jinja2 template(s) for generating Django model code
• No web server, database config, or runtime code—this is a code generator only.
README for additional insights
• Describes features: opinionated defaults, custom user model, REST framework integration, essential files.
Detailed checklist
[ ] Label “porosdjango.cli” as the entry point
[ ] Show “Command Dispatcher” invoking “utils.py / Context Builder”
[ ] Illustrate “Template Loader” reading Jinja2 files under porosdjango/templates
[ ] Illustrate “File Generator” writing to the target project folder