There's probably modules called 'cms' that aren't django-cms (mine for example). At the very least don't throw an exception when there isn't a __version__ attribute. Still need to find a better way to distinguish if it's django-cms or not.