On 2015-09-28 05:26:35 +0000, Cai Gengyang said:
File "/Users/CaiGengYang/mysite/mysite/settings.py", line 45'django.middleware.csrf.CsrfViewMiddleware', ^ SyntaxError: invalid syntax
The syntax looks fine in the pastebin, did you possibly copy text from web thus pasting smartquotes or unprintables in your source file?
-- Andrea -- https://mail.python.org/mailman/listinfo/python-list