Thank you
On Sun, May 19, 2024, 1:48 AM Hossein Mahdavipour
wrote:
> Hi.
> I am using DRF with django. In views I use get_object_or_404. When I get
> a 404, the exception detail is "No %s matches the given query."
> You can see the code here:
> https://github.com/django/django/blob/8f205acea94e
Hi.
I am using DRF with django. In views I use get_object_or_404. When I get a
404, the exception detail is "No %s matches the given query."
You can see the code here:
https://github.com/django/django/blob/8f205acea94e93a463109e08814f78c09307f2b9/django/shortcuts.py#L88
My question is why it doe
2 matches
Mail list logo