from django.views.generic import TemplateView

class HomeView(TemplateView):
    template_name = 'home.html'

    def get(self, request, *args, **kwargs):
        context = {
            'some_dynamic_value': 'Now available as a web application!',
        }
        return self.render_to_response(context)

from django.views.generic import TemplateView

class HomeView(TemplateView):
    template_name = 'home.html'

    def get(self, request, *args, **kwargs):
        context = {
            'some_dynamic_value': 'Coming soon as a web application!',
        }
        return self.render_to_response(context)

Change subtext on main page
Change subtext on main page

  from django.views.generic import TemplateView
  
  class HomeView(TemplateView):
      template_name = 'home.html'
  
      def get(self, request, *args, **kwargs):
          context = {
-             'some_dynamic_value': 'Now available as a web application!',
+             'some_dynamic_value': 'Coming soon as a web application!',
          }
          return self.render_to_response(context)
  
Change subtext on main page
## Code Before:
from django.views.generic import TemplateView

class HomeView(TemplateView):
    template_name = 'home.html'

    def get(self, request, *args, **kwargs):
        context = {
            'some_dynamic_value': 'Now available as a web application!',
        }
        return self.render_to_response(context)

## Instruction:
Change subtext on main page
## Code After:
from django.views.generic import TemplateView

class HomeView(TemplateView):
    template_name = 'home.html'

    def get(self, request, *args, **kwargs):
        context = {
            'some_dynamic_value': 'Coming soon as a web application!',
        }
        return self.render_to_response(context)
