from django.views.generic import View
from django.shortcuts import render


class Extjs4AppView(View):
    template_name = "extjs4/apptemplate.django.html"
    title = 'ExtJS app'
    css_staticpath = 'extjs4/resources/css/ext-all.css'
    appname = None

    def get(self, request, **kwargs):
        if not self.appname:
            raise ValueError('appname is required')
        data = {'title': self.title,
                'css_staticpath': self.css_staticpath,
                'appall_staticpath': '{appname}/app-all.js'.format(appname=self.appname),
                'app_staticpath': '{appname}/app.js'.format(appname=self.appname),
                'params': kwargs}
        return render(request, self.template_name, data)

@@ -30,48 +30,20 @@
 ort 
-View%0Afrom django.shortcuts import render
+TemplateView
 %0A%0A%0Ac
@@ -61,16 +61,24 @@
 AppView(
+Template
 View):%0A 
@@ -348,16 +348,196 @@
 uired')%0A
+        return super(Extjs4AppView, self).get(request, **kwargs)%0A%0A    def get_context_data(self, **kwargs):%0A        context = super(Extjs4AppView, self).get_context_data(**kwargs)%0A
         
@@ -783,33 +783,33 @@
 me=self.appname)
-,
+%7D
 %0A               
@@ -805,87 +805,44 @@
     
-        'params': kwargs%7D%0A        return render(request, self.template_name,
+context.update(data)%0A        return
  data
-)%0A

Use TemplateView.