Stop using __getattribute__. Disable polymorphic models during syncdb and dumpdata. Fix a few issues with delete.