add inline admin compatibility, .gitignore, minor pep8 cleanup