base.py loads all xblock classes to find out which may have children and construct a query. When it load open_assessment, open_assessment pulls in Django.db database_error which tries to access django.settings