mirror of
https://github.com/lemeow125/StudE-Backend.git
synced 2024-11-17 06:19:24 +08:00
Fixed study group timestamp field
This commit is contained in:
parent
ac7360cafa
commit
87d1bcb04f
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ class StudyGroup(models.Model):
|
|||
name = models.CharField(max_length=48, unique=True)
|
||||
location = gis_models.PointField(blank=True, null=True, srid=4326)
|
||||
subject = models.ForeignKey(Subject, on_delete=models.CASCADE)
|
||||
timestamp = models.DateField(auto_now_add=True)
|
||||
timestamp = models.DateTimeField(auto_now_add=True)
|
||||
landmark = models.ForeignKey(
|
||||
'landmarks.Landmark', on_delete=models.SET_NULL, null=True)
|
||||
|
||||
|
|
Loading…
Reference in a new issue