Add a help text to rideshare when field to show format for now.
This commit is contained in:
parent
426a3f56be
commit
e21f596188
|
@ -9,7 +9,7 @@ class Ride(UUIDModel, CampRelatedModel):
|
||||||
user = models.ForeignKey('auth.User', on_delete=models.PROTECT)
|
user = models.ForeignKey('auth.User', on_delete=models.PROTECT)
|
||||||
seats = models.PositiveIntegerField()
|
seats = models.PositiveIntegerField()
|
||||||
location = models.CharField(max_length=100)
|
location = models.CharField(max_length=100)
|
||||||
when = models.DateTimeField()
|
when = models.DateTimeField(help_text="Format is YYYY-MM-DD HH:mm")
|
||||||
description = models.TextField()
|
description = models.TextField()
|
||||||
|
|
||||||
def get_absolute_url(self):
|
def get_absolute_url(self):
|
||||||
|
|
Loading…
Reference in a new issue