1 from django.http import HttpResponse
2 from django.utils.translation import ugettext as _
4 from base import check_for_updates
6 from forum.views.admin import admin_tools_page, admin_page
8 @admin_tools_page(_('updater'), _('Update Checker'))
9 def updater_index(request):
11 'modules/updater/index.html',
17 def updater_check(request):
18 update_status = check_for_updates()
20 return HttpResponse(update_status, mimetype='text/html')