Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
According to Django docs[1]: > If it’s set to False, any object can be passed for serialization > (otherwise only dict instances are allowed) As we are using a dict, there's no need for the safe=False. [1] https://docs.djangoproject.com/en/3.2/ref/request-response/#jsonresponse-objects
- Loading branch information