mgaitan / waliki

A wiki engine powered by Django and Git
http://waliki.pythonanywhere.com
BSD 3-Clause "New" or "Revised" License
309 stars 56 forks source link

waliki.git breaks with custom user model #119

Open mgaitan opened 8 years ago

mgaitan commented 8 years ago

we do something like if isinstance(author, User) and author.is_authenticated(): and that's fails if the "author" instances is not from the default User model.

discovered here http://stackoverflow.com/questions/31416140/python-sh-set-user-email-to-commit-git