dashboard: upgrade init command
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
Showing
Please
register
or
sign in
to comment