django1.5 support, no more generic function views