'无'不是可调用的或点符号路径

时间:2016-04-16 12:52:08

标签: python django

我在ubuntu 14.04上使用Django 1.9.4和python 3.4.3来构建博客,但是我收到以下错误。我不知道我是怎么做到的,它只是没有用。

Add-Type : (0) : Metadata file 'System.Linq.dll' could not be found
(1) : /*
At C:\windows-openstack-imaging-tools-master\Interop.ps1:1353 char:13
+     Add-Type <<<<  -TypeDefinition $code -ReferencedAssemblies "System.Xml","System.Linq","
    + CategoryInfo          : InvalidData: (error CS0006: M...ld not be found:CompilerError)
    + FullyQualifiedErrorId : SOURCE_CODE_ERROR,Microsoft.PowerShell.Commands.AddTypeCommand

我不知道为什么django指出我在html中有错误。

ViewDoesNotExist at /
'None' is not a callable or a dot-notation path
Request Method: GET
Request URL:    http://127.0.0.1:8000/
Django Version: 1.9.4
Exception Type: ViewDoesNotExist
Exception Value:    
'None' is not a callable or a dot-notation path
Exception Location: /usr/local/lib/python3.4/dist-packages/django/core/urlresolvers.py in get_callable, line 102
Python Executable:  /usr/bin/python3.4
Python Version: 3.4.3
Python Path:    
['/home/gaoliang/Desktop/my_blog',
 '/usr/local/lib/python3.4/dist-packages/setuptools-18.1-py3.4.egg',
 '/usr/local/lib/python3.4/dist-packages/stevedore-1.12.0-py3.4.egg',
 '/usr/local/lib/python3.4/dist-packages/six-1.10.0-py3.4.egg',
 '/usr/local/lib/python3.4/dist-packages/pbr-1.8.1-py3.4.egg',
 '/home/gaoliang/Desktop/my_blog',
 '/usr/lib/python3.4',
 '/usr/lib/python3.4/plat-x86_64-linux-gnu',
 '/usr/lib/python3.4/lib-dynload',
 '/usr/local/lib/python3.4/dist-packages',
 '/usr/lib/python3/dist-packages']
Server time:    Sat, 16 Apr 2016 20:31:57 +0800
你可以帮帮我吗?

0 个答案:

没有答案