28👍
✅
add below line in settings.py
REST_FRAMEWORK = {'DEFAULT_SCHEMA_CLASS':'rest_framework.schemas.coreapi.AutoSchema' }
- How to customise django inline admin form's delete function
- Crispy-forms: add css class for one of the inputs
- Django rest framework , order_by a JSON from serializers.py file
- Django NodeNotFoundError during migration
- Why is Django Caching my static with django.views.static.serve?
- Django Queryset to dict for use in json
- How can I use AWS's Dynamo Db with Django?
0👍
When I add this to my seetings.py, works fine
REST_FRAMEWORK = {
...
'DEFAULT_SCHEMA_CLASS': 'rest_framework.schemas.coreapi.AutoSchema',
}
- How do I run multiple sites on the same server using docker and nginx?
- Django south fresh install –> error: unknown command 'schemamigration'
- Is this necessary to have multiple processes / threads in a Kubernetes pod?
Source:stackexchange.com