Open-source helpers for managing Django internals with ease. This package in included in the following starters:
Django Datta Able - Free Product
Dynamic Django - Paid starter, part of the Onboarding Kit Bundle
Import CLI Package#ð New to App-Generator? Sign IN with GitHub or Generate Web Apps in no time (free service).
Download a starter that supports the Django CLI package: Datta Able (Free) or Dynamic Django (Paid) via Onboarding Kit Bundle. Once the project is downloaded, unzip it and inspect the files.
unzip django-datta-able.zip cd django-datta-able pip install -r requirements.txt
The CLI helpers are located in the cli package, root of the codebase:
< PROJECT_ROOT > | |-- cli/ # CLI Package |-- __init__.py # The entry point |-- common.py # Constants |-- h_ai_claude.py # Claude.AI Interface |-- h_code_parser.py # AST-based helpers |-- h_django_common.py # Manage Project dependencies |-- h_django_deps.py # Manage Project dependencies |-- h_django_env.py # Manage ENV |-- h_django_settings.py # Manage Settings |-- h_django_urls.py # Manage Routing |-- h_django.py # DJANGO specific helpers |-- h_files.py # Filesystem Helpers |-- h_git.py # GIT Interface |-- h_shell.py # Shell Interface |-- h_util.py # Misc Helpers
After installing the dependencies, we can start the Python shell and import the CLI package in the Django or Python Shell.
# Usage via Django Shell python manage.py shell >>> from cli import * # OR using the Python Shell python # Start Python Shell >>> from cli import * # Import CLI Helpers >>> h_random() # Test the import by calling a helper >>> 'Py8v76'
At this point, we can start using the CLI helpers.
All helpers provided by the package are listed below.
Features#Get Django Instance
Check DB Connection
List registered Applications
List Models
Print Models fields, foreign keys
Manage Environment Variables
Manage Dependencies
Control Project Settings
Update Routing
Add/Remove Models
Add/Remove/Update Fields
Manage Projects Files
Print Git log
Commit changes
List tags
Revert commits
Start the Project
Create Admin Account
Check and execute migrations
Format project code (using black)
Generate random strings
Convert lists to string
Tet current timestamp
ð New to App-Generator? Join our 10k+ Community using GitHub One-Click SignIN.
ð Download products and start fast a new project
ð Bootstrap your startUp, MVP or Legacy project with a custom development sprint
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4