EducatedCamels / djangazon

Django powered web application for Bangazon site
0 stars 0 forks source link

added validation to the selling form #29

Closed jamestonkin closed 7 years ago

jamestonkin commented 7 years ago

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

kayrahbear commented 7 years ago

bitmoji

Works for me!

jamestonkin commented 7 years ago

image