Skip to content

Commit

Permalink
Add thread parameter to docs
Browse files Browse the repository at this point in the history
Fixes #76
  • Loading branch information
LeoneBacciu committed Sep 2, 2023
1 parent f97cfe5 commit beef8d9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,10 @@ class MyClassView(FormView):
return returnVal
```

> **NOTE**: By default the email is sent asynchronously, which is the suggested behaviour, if this is a problem (for example if you are running synchronous tests), you can pass the parameter `thread`:
>
> send_email(user, thread=False) # When this function returns, the email has been sent
## Token verification

There are two ways to get the token verified:
Expand Down

0 comments on commit beef8d9

Please sign in to comment.