尝试转换可能的整数变量时出现此错误:
for page in domain.page_set.all():
filename = str(domain.url) + '_page_' +str(page.id())+ '.html'
错误:
File "/Applications/djangostack-1.4.7-0/apps/django/django_projects/controls/polls/models.py", line 40, in make_config_file
filename = str(domain.url)+"_page_"+str(page.id())+".html"
TypeError: 'long' object is not callable
这里有什么问题?“long is not callable”是什么意思?