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(_('stats'), _('Stats Module'))
9 def stats_index(request):
11 'modules/stats/index.html',
17 def stats_check(request):
18 update_status = check_for_updates()
20 return HttpResponse(update_status, content_type='text/html')