Basith Rahman
Basith Rahman
Use serializers.ModelSerializer instead of serializers.Serializer. Import serializers and APIRequestLog model. ```python from rest_framework import serializers from rest_framework_tracking.models import APIRequestLog ``` Then:- ```python class ApiRequestTableSerializer(serializers.ModelSerializer): requested_at = serializers.DateTimeField(format='%d %b %Y') path...
You can fix this issue by adding the `basePath ` in `templates`. For example: ``` template = { "swagger": "2.0", "basePath": "/your-base-url", # Add your base-url here in your case...
You can fix this issue by adding the `basePath ` in `templates`. For example: ``` template = { "swagger": "2.0", "basePath": "/your-base-url", # Add your base-url here in your case...