Skip to content

Aravindrajeev432/Django_Signal_Pre_save

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published