Django\uyu init_u()关键字必须是字符串

2024-04-19 06:49:42 发布

您现在位置:Python中文网/ 问答频道 /正文

我试图运行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

如何解决这个问题?在

谢谢。在


Tags: djangoruninpymanage错误managementcommand