init.py
6 KB
-
dashboard: upgrade init command · 90a5d98b
Changes: * Use argparse instead of optparse: https://docs.djangoproject.com/en/1.11/releases/1.10/#features-removed-in-1-10 * convert print to self.stdout.write(), Django documents suggest it: https://docs.djangoproject.com/en/1.11/howto/custom-management-commands/#module-django.core.management
Czémán Arnold committed