Add runscript command with support for scrip fixtures and app scripts
|Reported by:||Daniel Poelzleithner||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.