Aravindrajeev432 / Django-Signals

Checking product's stock before its updates

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Django-Signals

Checking product's stock before its updates

Here I am using pre_save signal.

Installation

No extra packages needed .

Usage

run http://127.0.0.1:8000/myapi/

Try updating a product's stock quantity by more than current stock , The situvation is subtracting quantity of stock when a an order is made

PATCH

use patch method for test

About

Checking product's stock before its updates


Languages

Language:JavaScript 48.4%Language:CSS 47.8%Language:Python 3.8%Language:Procfile 0.0%