tallowen/django-browserid — comment on commit 168f9159da68654dd23f9ae50164ec026db4bbf2
File:  line 0
By Osmose:

I like the idea, but I think we can do better: what if we made BROWSERID_CREATE_USER either:

#. A callable, in which case we return the result of that callable when passed the user's email. We can check if it's callable using the `callable` function.
#. True (or truthy, however you call it), in which case we create a user using the default algorithm.
#. Falsy (including not defined), in which case we return None.

Thoughts?