Nesting ng-repeat-start

If you need to span multiple elements using an ng-repeat, e.g.  you want to generate two rows for a single entry, you can use ng-repeat-start and ng-repeat-end.


<tr ng-repeat-start="item in items">
<tr ng-repeat-end ...
Continue reading

Mixing AngularJS and Django Template placeholders

I've blogged before on how to use AngularJS with Django, who both share the same {{ }} placeholders. The trick there was to keep using {{ }} for Django, and <[ ]> (or any other combo) for AngularJS.


This works well but there's a ...

Continue reading

Python requests and (rapidssl) certificates

Today I learned that RapidSSL certificates aren't as widely supported on all clients as most others.

When changing an API endpoint URL for a project that used to run locally, non-ssl to a remote, ssl powered server, the code ...

Continue reading

Workaround for Django 1.4 -> Django 1.6 message cookie error

The messages cookie format has changed in Django 1.5. However, support for the old format has been removed from Django 1.6 which means that if you migrate from Django 1.4 to Django 1.6 directly, you may ...

Continue reading