"""
CSS Grid Template
"""

class CSSGridMixin(object):
    """
    A mixin for adding css grid to any standard CBV
    """
    
    _prefix = 'css-grid'
    grid_wrapper = None
    grid_template_columns = None
    grid_template_areas = None
    grid_gap = None
    

    def get_context_data(self, **kwargs):
        """
        Insert the single object into the context dict.
        """
        context = super(SingleObjectMixin, self).get_context_data(**context)
        context.update({
            self._prefix: {
                'grid_wrapper': self.grid_wrapper,
                'grid-template-columns': self.grid_template_columns,
                'grid-template-areas': self.grid_template_areas,
                'grid-gap': self.grid_gap
            }
        })
        return context

@@ -20,16 +20,17 @@
 te%0A%22%22%22%0A%0A
+%0A
 class CS
@@ -121,38 +121,9 @@
 %22%22%22%0A
-    %0A    _prefix = 'css-grid'
 %0A
+
     
@@ -225,21 +225,16 @@
 p = None
-%0A    
 %0A%0A    de
@@ -377,31 +377,8 @@
 per(
-SingleObjectMixin, self
 ).ge
@@ -394,23 +394,22 @@
 _data(**
-context
+kwargs
 )%0A      
@@ -443,20 +443,18 @@
     
-self._prefix
+'css-grid'
 : %7B%0A

Update views.py