Skip to content
Snippets Groups Projects
Commit 149df9b2 authored by Kevin Falcone's avatar Kevin Falcone
Browse files

Django 1.8 disallows access to args[]

https://docs.djangoproject.com/en/1.8/howto/custom-management-commands/
You need to declare and do proper argument parsing.  --commit is also
more natural than a bare 'commit' on the end of a command.

Switch from calling handle() directly to call_command().
call_command() simulates using the management command so is a better
test of the command line interface.
parent 6a76db08
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment