Closed jamestonkin closed 7 years ago
added validation to the selling form
Ready
validation for the selling form. Still able to add negative number on price. Cannot add negative quantities, no more than 2 decimal places on price.
1
models.py
./damnit_django.sh python manage.py runserver
./damnit_django.sh
python manage.py runserver
No unit tests.
Works for me!
1. TITLE:
added validation to the selling form
2. STATUS:
Ready
3. DESCRIPTION:
validation for the selling form. Still able to add negative number on price. Cannot add negative quantities, no more than 2 decimal places on price.
4. RELATED TICKETS:
1
5. FILES CHANGED:
models.py
6. STEPS TO RUN PROJECT:
./damnit_django.sh
python manage.py runserver
8. TESTING THE CODE:
No unit tests.
For reference: Bangazon Employee Handbook: Pull Requests