DJANGO MARKET. WHAT'S INSIDE?
Hi guys! Recently i've learn how to write a store at de Django backend framework and now i want to share da collectively logic of it.
So, for now, every request is processing in da class of it. What's mean? Look, we've a cart of da store, and our cart is exist like a class. Also it contain methods and variables, necessery for it. Our customer (you) also exist like a class, have exclusively methods and variables. Our product is too, and our cart product.
Da cart product is such a thing, that's just like a simple product, but this is a special model for be able to add to cart. It has necessery variables and functions for supportin' this opportunity.
So, that's what's inside. Every market, or blog-forum, or smthin' another web page with Django framework works. At old time it not supported class based view and every model were processed like just a function, but this is not pretty much flexiability like class based view.
Have nice day.
Our twitter: @derkodierer
Comments
Post a Comment