Add:
```
>>> from django.core.exceptions import ObjectDoesNotExist
```
The reason for this is that in examples documentation like this we can expect the user to follow the examples one-by-one, so we should make sure that they can do it without raising unexpected errors themselves.