See #152: added management command to execute one-time migration scripts

This commit is contained in:
Eliot Berriot 2018-05-18 21:19:20 +02:00
parent a57d975183
commit ac7db73785
No known key found for this signature in database
GPG key ID: DD6965E2476E5C27
9 changed files with 202 additions and 4 deletions

View file

@ -0,0 +1,8 @@
"""
This is a test script that does nothing.
You can launch it just to check how it works.
"""
def main(command, **kwargs):
command.stdout.write('Test script run successfully')