Remove Deprecation warning for Django1.5+