Compatibility fix django 1.5
Merge pull request #1 from Fantomas42/cbv

Compatibility fix django 1.5