简体   繁体   English

django-rest-swagger 返回内部服务器错误

[英]django-rest-swagger returns with Internal Server Error

I am making one API resource and I thought to use django-rest-swagger for this and I have done all the steps as provided in the django-rest-swagger documentation我正在制作一个 API 资源,我想为此使用 django-rest-swagger,并且我已经完成了 django-rest-swagger 文档中提供的所有步骤

After I tried the url http://localhost:8000/docs/ and I am unable to open and view my APIs.在我尝试了 url http://localhost:8000/docs/之后,我无法打开和查看我的 API。 The error screenshot is attached below.错误截图附在下面。 If anyone has encountered it before please help me out.如果有人以前遇到过,请帮助我。

Django 休息招摇错误

该错误是由于数据库中的旧字段解决了这个问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 django-rest-swagger:如何对端点进行分组? - django-rest-swagger: how to group endpoints? django-rest-swagger的请求和响应模式,用于在DRF中记录API - Request & Response schema of django-rest-swagger for documenting the API in DRF 带有只读字段的 django-rest-swagger 嵌套序列化程序未正确呈现 - django-rest-swagger nested serializers with readonly fields not rendered properly django-rest-swagger不适用于模型序列化器吗? - Does django-rest-swagger not work well with modelserializers? 如何在django-rest-swagger中指定查询参数序列化程序? - How to specify a query parameter serializer in django-rest-swagger? 如何将 django-rest-swagger 2.0 与现有的 DRF 应用程序集成(初学者) - How to integrate django-rest-swagger 2.0 with existing DRF application(Beginner) 为什么这个django-rest-swagger API文档不能正常显示/工作? - Why won't this django-rest-swagger API documentation display/work properly? 如何仅在django-rest-swagger包中显示一些URL文档 - how to show only some URL documentation in django-rest-swagger package django-rest-swagger:如何在文档字符串中指定参数类型 - django-rest-swagger: How can I specify the parameter type in the docstring 为什么Django-rest-swagger不能找到我的api路径? - Why can't Django-rest-swagger find my api paths?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM