Django DRF Ecommerce Inventory with Elasticsearch and Pytest

preview_player
Показать описание
Create a Django DRF Ecommerce Inventory with Elasticsearch and Pytest. We use all the knowledge learnt so far to put together a baseline inventory systems using Django REST framework, Elasticsearch and test with Pytest.

Code Repository:
===

Fixtures
===

Database ERD
====

Timeline:
====
00:00 Introduction
05:46 Code Formatting and Extensions
12:20 Database Implementation
40:30 Pytest
01:17:21 Django DRF
03:13:20 Elasticsearch

✨ Support us - join us as a Very Academy Member

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

it's amazing, I'm really can't wait until the next video

mortyfarj
Автор

I have same problem with ConnectionError when running search_index --rebuild command. Your suggestion didnt help, any other solutions?

kyialkasmambetova
Автор

Zander, may I ask what your plans are for the front-end here? V1 had Django templates solving that task, but seeing how V2 makes a heavy use of the DRF, I suppose the frontend will make heavy use of some JavaScript framework? I hope it's not React - you've got a lot on your plate already, so I don't expect you to add another mammoth on top )

AlexandreKarpov
Автор

Wonderful sumup! What's the next step? I guess you would build the frontend in react or typescript?

gwod
Автор

Does read_only and editable work for serializer Meta? Couldn't find any mentions in documantation

nateriver
Автор

to anyone who may be confused - the "virtual machine" author refers to on multiple occasions is really a virtual _environment_, which is a common python ecosystem trick to isolate project's dependencies from other projects and a host system (though y'all probably know that last bit ). There are many higher level abstraction on top of virtualenv - e.g. pipenv or poetry, but I suppose the author decided to keep things less opinionated. The choice of the dependency management solution is a big decision after all..

AlexandreKarpov
Автор

hi. please help
I want to when I search in the field. For example, I search for (jack)
I want to show objects that are also called (jackii)

Like icontains in Django

I will search for another example (jac) should go to the name field and return (jack)


Now I can enter the full name to return the object

mohammadhssnalizadeh
Автор

Hi, I have a problem with the through. The code cant read the top model because I think is for sync language. Thanks

davidgpro