azavea/OTM2 — pull request #803 by RickMohr (2013-10-24 18:00:40+00:00)
Title: Template tag "partial.py" renders template with sub-dict of context

When rendering a complex page using many partial templates, it's simpler to give the partials a subdict of the context rather than the entire context.

For example, if the context is:
```python
{'car': {'mileage': 9000, 'doors': 4},
'house': {'sqft': 1800, 'baths': 2}}
```
and the template "myApp/partials/house.html" contains:
```html

Area: {{ sqft }} sq. ft.

Bathrooms: {{ baths }}

```
you could render it like this:
```html
{% load partial %}
{% partial myApp/partials/house.html house %}
```