Resolve warnings from ./manage.py check