Пример #1
0
def about(request):
    """Show about page with version information."""
    return render(
        request, 'about.html', {
            'title': _('About Weblate'),
            'versions': get_versions() + get_optional_versions(),
            'allow_index': True,
        })
Пример #2
0
def about(request):
    """Show about page with version information."""
    return render(
        request,
        'about.html',
        {
            'title': _('About Weblate'),
            'versions': get_versions() + get_optional_versions(),
            'allow_index': True,
        }
    )
Пример #3
0
 def page_context(self, context):
     context.update({
         'title': _('About Weblate'),
         'versions': get_versions() + get_optional_versions(),
         'allow_index': True,
     })
Пример #4
0
 def page_context(self, context):
     context.update({
         'title': _('About Weblate'),
         'versions': get_versions() + get_optional_versions(),
         'allow_index': True,
     })