Added pycharm project folder to gitignore.
User.get_absolute_url returns ProfileDetail view.