rosedu/wouso

View on GitHub
contrib/clear-fixtures.sh

Summary

Maintainability
Test Coverage
#!/bin/bash


APPS="models config qpool pages"

for app in $APPS
do
    echo "Resetting $app data."
    wouso/manage.py sqlreset $app | wouso/manage.py dbshell
done

echo "Done"