Django E-commerce Product Filter Prototype

preview_player
Показать описание
Welcome to part 3 of the Python Django E-commerce project version 2. In this Python Django tutorial we focus developing our understanding of Django queries and build a product filtering prototype. The purpose of the inventory app database is to maintain the data that is needed to support online retail sales and stock inventory management.

Code Repository:
===

Database ERD
====

Timeline:
====
📋 Introductions

09:52 Download starting repository
10:47 Virtualenv setup
====
App development
====
14:32 URLs
19:51 views
24:53 docker install
26:22 postgres database configuration
27:19 docker-compose file
30:55 starting docker
32:55 configure Django database configuration
====
Queries
====
44:13 get all data query and display data
1:05:12 get all products by category
1:32:23 get product details
1:57:32 capture GET attributes and get product attributes
2:18:40 building the ProductTypeAttributeValues table
2:29:59 get product type attributes names
2:35:23 get product attributes and display in filtered list
====
Frontend JS
====
2:52:21 Develop the filter user selector

Documentation
===

✨ Support us - join us as a Very Academy Member

👍SUBSCRIBE to get more free tutorials, courses and code snippets!
Рекомендации по теме
Комментарии
Автор

All your Tutorials helps me MUCH !!! THANKS

ngompe
Автор

Thank you for the in-depth explanation! js suggestion:
let d = {};
let selectedLis =

selectedLis.forEach(li => {
= li.getAttribute("value");
})

MrCreeeeeeeepy
Автор

What I like most about your content is that you cover aspects of Django that are essential, but frequently overlooked in other tutorials. It's much appreciated!

michaels
Автор

Stop apologizing Zander, you are doing an outstanding job 😄 By FAR the most informative coding channel out there (and also my favorite 😉)

et
Автор

Honestly, I don't know how to thank you enough. Thanks anyways for being consistent and giving a detailed explanation. This channel is really worth it name. It's a very good academy😉

new-python-tutor
Автор

I rarely make comments on YouTube but your work remarkable dude. Many thanks.

karlmillson
Автор

You are a great inspiration to my Python and Django development journey. great content and extraordinary explaination.

idriszayyad
Автор

I been looking for a course like this for years ! Thank you !!! Thank you so much !!! You are true angel ^_^

atefehz
Автор

Lovely sir. Maybe I can give you idea about videos. Is it possible to make short video about best Django books? You rock !

MrAntivirus
Автор

Happy to give 100th like to this lesson.

arunarivanandam
Автор

Thank you for this consistency, And also may I know when would be the next tutorial video gets uploaded?

KK-okyr
Автор

Zander, thank u again :d you are the best (K)

daisyktbpa
Автор

Thank you very much. You are a great tutor)))

nurmukhammad_k
Автор

Somehow my application won’t see Docker and instead tries to connect to local Postgre. I used the exact code snippet from tutorial repo but got no success. Does anyone else have the same problem?

ylnyk
Автор

Appreciate your hard work. Thank you very much.

mohammadshafayethaydar
Автор

Thank you so much! 🙏 this has been invaluable!

JRAS_
Автор

1:15:58
print(data)
<QuerySet [ ]>
is not showing any data !!

maro_xd
Автор

you are grate, please use class base views and when we use class base views or function base views

hamedmohammadi
Автор

after installing the requirements.txt file when i tried to install postgres it says ""ERROR: Could not find a version that satisfies the requirement postgres-binary (from versions: none)
ERROR: No matching distribution found for postgres-binary""

motiurrahman
Автор

Hello, Sir

First of all, thanks for the awesome content you produce! I've followed your tutorial from the beginnig, replicating everything you do.
Everything went smoothly until 1:16 when I tried to get all products by category. When I print(data), I get <QuerySet [ ]>.

I'm using Python 3.10.0 and Django 4.0.3. Is that a problem? What else could it be?

I'll appreciate if you could give me a hint. Thank you!

OvidioPogliesi