Add a help text to rideshare when field to show format for now.

This commit is contained in:
Víðir Valberg Guðmundsson 2018-08-10 19:29:15 +02:00
parent 426a3f56be
commit e21f596188

View file

@ -9,7 +9,7 @@ class Ride(UUIDModel, CampRelatedModel):
user = models.ForeignKey('auth.User', on_delete=models.PROTECT)
seats = models.PositiveIntegerField()
location = models.CharField(max_length=100)
when = models.DateTimeField()
when = models.DateTimeField(help_text="Format is YYYY-MM-DD HH:mm")
description = models.TextField()
def get_absolute_url(self):