<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">from django.http import HttpResponse
from django.utils.translation import ugettext as _

from base import check_for_updates

from forum.views.admin import admin_tools_page, admin_page

@admin_tools_page(_('updater'), _('Update Checker'))
def updater_index(request):
    return (
        'modules/updates/index.html',
        {

        },
    )

def updater_check(request):
    update_status = check_for_updates()

    return HttpResponse(update_status, mimetype='text/html')
</pre></body></html>