cache selection fixed for django 1.7+
Exception handling for OperationalError replaced to DatabaseError
get_etag hash calculation TypeError fixed
ugettext should be lazy in settings
initial code for tests added