Add runscript command with support for scrip fixtures and app scripts
|Reported by:||poelzi||Owned by:||nobody|
|Component:||Core (Management commands)||Version:||master|
|Cc:||Triage Stage:||Ready for checkin|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
While stresstesting we cam to the idea that auto generated fixtures are much easier to handle compared to
json dumps. Also we find simple scripts (much easier then real manage.py commands) very usefull.
For example every app gets a daily_cleanup.py script in the scripts subdirectory.
manage.py runscript daily_cleanup
runs the daily_cleanup script of all apps. this way the cleanup script is fine seperated for every app.
Change History (3)
Changed 9 years ago by poelzi
comment:1 Changed 8 years ago by poelzi
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset
- Triage Stage changed from Unreviewed to Ready for checkin