I tried to create a pagination api without a html file (only for the backend) and woth size and page as variables. urls.py
urlpatterns= [path(\'api/units?page