maikelwever/amplefrag-beamerapp — Issue #68: Make json template dry
Author: avanheuvelen
Created: 2012-01-28 00:38:13+00:00
State: open

If I currently want to add something from the model to the json data, I have to do it:
[here](https://github.com/maikelwever/amplefrag-beamerapp/blob/master/beamerapp/shoutbox/views.py#L33)
[here](https://github.com/maikelwever/amplefrag-beamerapp/blob/master/beamerapp/shoutbox/views.py#L54)
[here](https://github.com/maikelwever/amplefrag-beamerapp/blob/master/beamerapp/shoutbox/management/commands/fill_redis.py#L34), and
[here](https://github.com/maikelwever/amplefrag-beamerapp/blob/master/beamerapp/templates/shoutbox/shouts_json.html). Why? That's not Dry!