I am writing a Django app, and I would like an account to be created on our Google Apps hosted email using the Provisioning API whenever an account is created locally.
I would solely use signals, but since I would like the passwords to be synchronized across sites, I have monkeypatched User.objects.create_user
and User.set_password
using wrappers to create Google accounts and update passwords respectively.
Monkeypatching seems to be frowned upon, so I would to know, is there a better way to accomplish this?