dobarkod/django-staticsite — pull request #1 by gilsondev (2014-03-01 21:59:57+00:00)
Title: Google Analytics and views.py removed

## Google Analytics

Pull request contain context processor to inject google analytics code, using values in settings.py:

```python
from django.conf.global_settings import TEMPLATE_CONTEXT_PROCESSORS

# ...

TEMPLATE_CONTEXT_PROCESSORS += (
'pages.context_processors.google_analytics',
)

# ...

# Analytics
GOOGLE_ANALYTICS_KEY = ''
GOOGLE_ANALYTICS_DOMAIN = ''
```

So just insert the following code:

```

{{ analytics_code }}
```

## Views

The file views.py was removed by reason of not being used