Adding str representation anyway.
This commit is contained in:
parent
effe016b57
commit
b864a2cd56
|
@ -20,3 +20,11 @@ class Ride(UUIDModel, CampRelatedModel):
|
|||
'camp_slug': self.camp.slug
|
||||
}
|
||||
)
|
||||
|
||||
def __str__(self):
|
||||
return "{} seats from {} at {} by {}".format(
|
||||
self.seats,
|
||||
self.location,
|
||||
self.when,
|
||||
self.user
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue