2014-08-29 12:57:27 +05:30

16 lines
411 B
Python

from gettext import gettext as _
from django.template.response import TemplateResponse
from plinth import cfg
def init():
"""Initialize the system module"""
cfg.main_menu.add_urlname(_('System'), 'icon-cog', 'system:index', 100)
def index(request):
"""Serve the index page"""
return TemplateResponse(request, 'system.html',
{'title': _('System Configuration')})