I have these two settings in my User File Type.sublime-options:
But they don't seem to do much good on Python files (they work fine on javscript and html files).
That is to say, I always get spaces instead of tabs, and changing the tabSize to different settings isn't affecting the .py files at all.
EDIT: Apparently this only happens in some Python files. I'm still not sure which ones or why. If it helps, the name of one of the files is "views.py" (although a different file, also called "views.py", seems to work fine).