Part eight - 1 - Sending friend requests - Learn Django by building a social network

You need to be subscribed to a plan to get access to the full course.

In this part, we will make it possible to send friend requests to other users of DjangoNet.

Comments

hyunho lee | Sep 22, 22 12:45

hi, stein.
I am hyunho at korea.I am taking your lecture.

Part 8-1 Sending friend requests
created_by = request.user

I get the following error: I wonder how to solve it.

Cannot resolve keyword 'created_by' into field. Choices are: created_at, created_to, created_to_id, id, requested_to, requested_to_id, status


Stein Ove Helset | Nov 19, 22 06:49

Great that you fixed it :-)

hyunho lee | Sep 22, 22 12:52

It was my mistake.

Add comment

Newsletter

Subscribe to my weekly newsletter. One time per week I will send you a short summary of the tutorials I have posted in the past week.