from django.core.exceptions import ImproperlyConfigured
from django.views.generic import TemplateView


class SimpleWellView(TemplateView):
    def render_to_response(self, context, **response_kwargs):
        if not 'params' in context:
            raise ImproperlyConfigured(
                    "Expects `params` to be provided in the context")
        if not self.template_name:
            if not 'template_name' in context['params']:
                raise ImproperlyConfigured(
                        "Expects `template_name` to be provided")
            else:
                self.template_name = context['params']['template_name']

        if not 'well' in context['params']:
            raise ImproperlyConfigured("Expects a `well` to be provided")

        return super(SimpleWellView, self).render_to_response(context,
                **response_kwargs)

@@ -95,16 +95,67 @@
 ateView%0A
+from django.utils.translation import ugettext as _%0A
 %0A%0Aclass 
@@ -334,32 +334,35 @@
                 
+_(u
 %22Expects %60params
@@ -394,16 +394,17 @@
 ontext%22)
+)
 %0A       
@@ -556,16 +556,19 @@
         
+_(u
 %22Expects
@@ -600,16 +600,17 @@
 ovided%22)
+)
 %0A       
@@ -776,16 +776,19 @@
 figured(
+_(u
 %22Expects
@@ -813,16 +813,17 @@
 ovided%22)
+)
 %0A%0A      

Make these exception messages translatable