简介: 1、The view didn’t return an HttpResponse object. It returned None instead.检查一下你的view部分的函数或者类有返回值吗?返回语句没有错位吗?2、django网站第一次执行前一定要先执行migrate命令,再进行makemigrations,如果在执行中有部分model改变了,那么先执行makemigrations,再执行migrate。
1、The view didn’t return an HttpResponse object. It returned None instead.
(1)ubuntu上运行的django出现No space left on device错误
运行django出现错误信息:
[2016-12-24 14:33:24,476 pyinotify ERROR] add_watch: cannot watch /usr/local/lib/python2.7/dist-packages/django/contrib/sessi