Hi-
I define an endpoint using Django Rest Framework (DRF) with my serializer based off of DRF ModelSerializer defining a validator function.
When I reference the endpoint’s URL via curl or something in a browser, the validator function is invoked. When I use Django’s built-in Admin interface url, the validator defined by the serializer is not run - only a field validator defined by the model is run.
My urls.py contains the standard definition:
urlpatterns = [
path("admin/", admin.site.urls),
...
What is going on? Did I forget to do something? If this is a limitation of Django invoking DRF-defined endpoints, how do I work around it?
Thanks in advance,
-Jim