removed hasattr('.models') from syncdb command