global name 'topic_list' is not defined
/var/django/forum/djangobb_forum/views.py in moderate
84. return {
85. 'categories': Category.objects.all(),
86. 'topic_ids': topic_ids,
87. 'exclude_forum': forum,
88. 'TEMPLATE': 'forum/move_topic.html'
89. }
90. elif 'delete_topics' in request.POST:
91. for topic_id in topic_list:
92. topic = get_object_or_404(Topic, pk=topic_id)
93. topic.delete()
94. return HttpResponseRedirect(reverse('djangobb:index'))
95. elif 'open_topics' in request.POST:
96. for topic_id in topic_list:
97. open_close_topic(request, topic_id)
same in 'open_topics' and 'close_topics'
plz check it n fix