this PR aims on improving the create_tenant management command a tiny bit. On tenant creation it extends the "paid until" input prompt with the expected format (YYYY-MM-DD). It also extends the "on trial" input with "('True' or 'False')". Furthermore the IntegrityErrors are now printed with stderr. This is particularly useful when you enter a domain wich already exists. Before this the input loop would simply start again with no notification why.
Hey there,
this PR aims on improving the
create_tenant
management command a tiny bit. On tenant creation it extends the "paid until" input prompt with the expected format (YYYY-MM-DD). It also extends the "on trial" input with "('True' or 'False')". Furthermore theIntegrityErrors
are now printed withstderr
. This is particularly useful when you enter a domain wich already exists. Before this the input loop would simply start again with no notification why.