HUE-1474 [core] upgrade django from 1.2 to 1.4