Deprecation warnings removed for older Django versions.