DoesNotExist fixed in base.py