Why just starting the Django development server fail with “keywords must be strings”?

后端 未结 1 1008
终归单人心
终归单人心 2021-01-26 05:03

I\'m starting to learn Django and have been following the online tutorial on the Django website.

Everything was working fine and I have a folder called mysite and then s

相关标签:
1条回答
  • 2021-01-26 05:49

    According to the Django docs:

    Django 1.5 works with any Python version from 2.6.5 to 2.7.

    And according to this ticket, I would suggest you to upgrade your Python version. Or, if you can't upgrade it, you have another way, which is presented in the last comment of the ticket:

    Use Django 1.4, which supports Python 2.5+

    0 讨论(0)
提交回复
热议问题