diff options
| author | Sean Brant | 2013-03-10 23:37:23 -0500 |
|---|---|---|
| committer | Sean Brant | 2013-03-10 23:37:23 -0500 |
| commit | a5ca95a85b298ecf4e0b2b21cf72c997b18c9def (patch) | |
| tree | f8648e14ceb2450cfb2314c2b8ca42d0dd223f7b | |
| parent | 6be5ae40c427670ab6260195568015939510241c (diff) | |
| download | pykss-a5ca95a85b298ecf4e0b2b21cf72c997b18c9def.tar.bz2 | |
fixes django view for 1.4 compat
| -rw-r--r-- | pykss/contrib/django/views.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pykss/contrib/django/views.py b/pykss/contrib/django/views.py index c17147e..1ded72d 100644 --- a/pykss/contrib/django/views.py +++ b/pykss/contrib/django/views.py @@ -11,9 +11,9 @@ class StyleguideMixin(object): return pykss.Parser(*dirs) def get_context_data(self, **kwargs): - context = {'styleguide': self.get_styleguide()} - context.update(kwargs) - return super(StyleguideMixin, self).get_context_data(**context) + context = super(StyleguideMixin, self).get_context_data(**kwargs) + context.update({'styleguide': self.get_styleguide()}) + return context class StyleguideView(StyleguideMixin, TemplateView): |
