Removed another deprecation warning from Django.