get_user_model doesn't return a value
问题 as my first project in Django I am creating a todo app, that lets people log in and see their own tasks that they created. For that, I need to save author info in single task data. From what I learned reading the documentation and doing lots of google-searching, the current approach is to use the get_user_model function from django.contrib.auth. The problem is, that whenever I try to use it in my model, it seems to not get the username from the currently logged in user. While printing the