Open mgaitan opened 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.
if isinstance(author, User) and author.is_authenticated():
User
discovered here http://stackoverflow.com/questions/31416140/python-sh-set-user-email-to-commit-git
we do something like
if isinstance(author, User) and author.is_authenticated():
and that's fails if the "author" instances is not from the defaultUser
model.discovered here http://stackoverflow.com/questions/31416140/python-sh-set-user-email-to-commit-git