以下代码给我报错了。
from django.db import connection
cursor = connection.cursor()
错误信息:
Undefined variable from import: cursor
我安装了Django 1.2.5。我该如何解决这个问题?
谢谢