Deepwalker/aldjemy — pull request #6 by vpotter (2012-06-19 07:46:04+00:00)
Title: Additional fix for correct handling of proxy models

aldjemy.orm.prepare_models is affected by this issue too.

In case when proxy models initialization goes before base model initialization base model doesn't have 'sa' attribute. In order to fix it 'sa' is set even if table has already been initialized.