Use Django version to check for availability of ``get_user_model`` helper

Avoid intercepting accidental import errors