validate big ints and floats and flash error to user
fixes #26 (closed)
modified: make_post_sell/lib/currency.py
modified: make_post_sell/views/coupon.py
modified: make_post_sell/views/product.py
modified: make_post_sell/views/shop_location.py
Summary by CodeRabbit
-
New Features
- Introduced validation functions for integer and float values to enhance data integrity.
-
Improvements
- Enhanced input validation and error handling for numeric fields to prevent invalid data entry.
- Improved error messaging for invalid input across multiple forms, providing clearer feedback to users.
Edited by CodeRabbit