- Created export_system_config.py command:
* Exports Plans, Credit Costs, AI Models, Industries, Sectors, etc.
* Saves to JSON files for V1.0 configuration backup
* Includes metadata with export timestamp and stats
* Usage: python manage.py export_system_config --output-dir=backups/config
- Created cleanup_user_data.py command:
* Safely deletes all user-generated data
* DRY-RUN mode to preview deletions
* Confirmation prompt for safety
* Production environment protection
* Deletes: Sites, Keywords, Content, Images, Transactions, Logs, etc.
* Preserves: System config and user accounts
* Usage: python manage.py cleanup_user_data --dry-run
python manage.py cleanup_user_data --confirm
Both commands essential for V1.0 pre-launch cleanup