heynemann/motorengine — pull request #78 by sagallagherstarr (2014-11-19 20:04:51+00:00)
Title: Updating some methods in queryset.py to have an argument alias=None, and...

... to use it when calling other methods.

When I tried to create multiple databases using the alias feature, ensure_index threw exceptions for me. Examination shows that database aliases had not been implemented in ensure_index, so I added that parameter (default value None) to the method definition and to calls to ensure_index.

Thank you!