Get’s a Gravatar for a email address.
Parameters: |
|
---|---|
Returns: | The URI pointing to the Gravatar. |
Redirect user after successful sign in.
First looks for a requested_redirect. If not supplied will fall-back to the user specific account page. If all fails, will fall-back to the standard Django LOGIN_REDIRECT_URL setting. Returns a string defining the URI to go next.
Parameters: |
|
---|---|
Returns: | String containing the URI to redirect to. |
Generates a sha1 hash for supplied string. Doesn’t need to be very secure because it’s not used for password checking. We got Django for that.
Parameters: |
|
---|---|
Returns: | Tuple containing the salt and hash. |