1

実行しようとしましpython manage.py runserverたが、次のエラーが表示されました。どうすれば修正できるか知っていますか?

jalal@mona:/research/jalal/django/djcode/mysite$ python manage.py runserver

Validating models...

Unhandled exception in thread started by <bound method Command.inner_run of   <django.contrib.staticfiles.management.commands.runserver.Command object at 0x13f8ed0>>
Traceback (most recent call last):
File "/home/jalal/.pythonbrew/pythons/Python-2.6/lib/python2.6/site-packages/django/core/management/commands/runserver.py", line 92, in inner_run

__init__() keywords must be strings

これはどのように修正できますか?

ありがとう。

4

2 に答える 2

0

opensuse Linux で python 2.6.2 と同じ問題が発生しました。次に、python 2.6.5でUbuntu 10.04でdjango 1.5.5を試しました。これで問題は解決しました。

ハンス

于 2013-11-06T10:49:04.197 に答える