You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
383 B
13 lines
383 B
from django.views.generic import TemplateView
|
|
from django.utils.translation import ugettext_lazy as _
|
|
|
|
|
|
|
|
class IndexView(TemplateView):
|
|
template_name = 'index/index.html'
|
|
title = _('Русские программы')
|
|
|
|
def get_context_data(self, **kwargs):
|
|
context = super().get_context_data(**kwargs)
|
|
context['title'] = self.title
|
|
return context
|
|
|