1. You can override `.save` method of a model and detect that it is an update
operation like this
```
def save(self, *args, **kwargs):
if not self._state.adding:
…
```
According to
https://docs.djangoproject.com/en/3.0/re
, was that I was lost on how to redirect the user
> instead of getting that error.
>
> On Monday, 13 April 2020 18:38:25 UTC+1, zhong ming wu wrote:
> The html page you see is likely a django template in that project
> `django-rest-auth` . You should be able to locate and edit th
The html page you see is likely a django template in that project
`django-rest-auth` . You should be able to locate and edit that template to
your need.
Alternatively, you can write your own endpoint for verification.
> On Apr 13, 2020, at 13:31, Opeyemi Odedeyi wrote:
>
> good day, I am
I have been successfully using django test client to examine responses
from http requests from DRF; I am not using request factory of any kind.
However I have just found out that even though the output from the view
(using jsonrenderer ) examined with the browser properly turns UUID objects
in