django 1.7

See #1359.