first() method is not available in edx django version
Merge branch 'oai' into eco-full-integration