Django Admin-“从应用程序收到的响应不完整” [英] Django Admin - "Incomplete response received from application"

查看:98
本文介绍了Django Admin-“从应用程序收到的响应不完整”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近开始了一个Django项目-当我转到管理页面时,收到从应用程序接收到不完整的响应消息。

I've recently started a Django project - When I go to the Admin page I get an "Incomplete Response Received from Application" message.

我只得到这个从我的A2托管域 www.educate-malawi.com 查看项目时出现错误。您可以访问主页右下角的管理页面。

I only get this error when viewing my project from my A2 hosting domain www.educate-malawi.com. You can access the admin page at the bottom right of the home page.

这对我的主机来说是个问题还是可以解决的问题?

Is this a problem for my host or is it something that I can fix?

我尝试寻找该问题的答案,但所有内容都提到Ruby on Rails-这不是Rails项目上的红宝石

I've tried looking for answers to this problem but everything mentions Ruby on Rails - This is not a ruby on rails project.

如果您需要查看我的任何代码,请告诉我-我可以将其发布。

If you need to see any of my code let me know - I can post it.

推荐答案

使用主机,并且Django项目中的链接不在您的urls.py文件中或不正确时,会产生此错误。

This error is produced when using a Host and a link in your Django project is either not in your urls.py file or is incorrect.

对我来说,特别是我的href当urls.py预期为 www.educate-malawi.com/admin/时,链接到 www.educate-malawi.com/admin。

For me specifically my href linked to "www.educate-malawi.com/admin" when urls.py expected "www.educate-malawi.com/admin/"

对于错误的网址!

这篇关于Django Admin-“从应用程序收到的响应不完整”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆