update
This commit is contained in:
@ -278,6 +278,12 @@ class Location_polygon(models.Model):
|
||||
return str(self.location_name)
|
||||
|
||||
|
||||
class UserTracks(models.Model):
|
||||
user=models.ForeignKey(CustomUser, on_delete=models.DO_NOTHING)
|
||||
geom=models.MultiPointField(srid=4326)
|
||||
created_at=models.DateTimeField(auto_now_add=True)
|
||||
|
||||
|
||||
|
||||
EVENT_STATUS = (
|
||||
("PREPARING", _("Preparing")),
|
||||
@ -385,7 +391,7 @@ class Useractions(models.Model):
|
||||
wanttogo=models.BooleanField(default=False)
|
||||
like=models.BooleanField(default=False)
|
||||
checkin=models.BooleanField(default=False)
|
||||
# checkinimage=models.FileField(upload_to='%y%m%d', blank=True, null=True)
|
||||
checkinimage=models.FileField(upload_to='%y%m%d', blank=True, null=True)
|
||||
order =models.IntegerField(default=0)
|
||||
created_at=models.DateTimeField(auto_now_add=True)
|
||||
last_updated_at=models.DateTimeField(auto_now=True)
|
||||
|
||||
Reference in New Issue
Block a user