This fixes the bug and cleans up your repo

## Don't merge both PRs!

This PR has the big fix and some clean up. Pick which one you want and merge it. The other one is just the fix.

In general, don't commit pyc files to git. Bad form.

This adds a gitignore file and removes all the pycs. It makes manage.py usable like `./manage.py runserver` instead of `python manage.py runserver`.