1
4

1 回答 1

3

You need to upgrade to Django 1.5c1 (still in development). You appear to be running a development version that predates even 1.5a1. The error you see is due to a syntax change between the major Python versions and was fixed 9 months ago.

Or better still, use Python 2.7 instead; even in Django 1.5 the Python 3 support is labelled as experimental.

于 2013-01-25T13:09:55.047 回答