Django backwards compatibility