Commit 5af4c7c3 authored by Daniel W Bond's avatar Daniel W Bond
Browse files

added default to bid price

parent 5165a691
......@@ -134,6 +134,7 @@ class Bid(TimeStampedModel):
bidder = models.ForeignKey(Student)
listing = models.ForeignKey(Listing)
price = models.PositiveIntegerField(
default = 0,
validators = [MaxValueValidator(1000)],)
text = models.CharField(
blank = True,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment