Used CommandError in createcachetable command.
Raising CommandError whenever a management command meets an error condition is the standard way to handle errors in commands.
Showing
Please
register
or
sign in
to comment
Raising CommandError whenever a management command meets an error condition is the standard way to handle errors in commands.