|
@@ -11,10 +11,11 @@ class Marker(models.Model):
|
|
class Trip(models.Model):
|
|
class Trip(models.Model):
|
|
startTime = models.DateTimeField()
|
|
startTime = models.DateTimeField()
|
|
endTime = models.DateTimeField()
|
|
endTime = models.DateTimeField()
|
|
- location = models.CharField(max_length=255)
|
|
|
|
|
|
+ name = models.CharField(max_length=255)
|
|
description = models.TextField(null=True, blank=True)
|
|
description = models.TextField(null=True, blank=True)
|
|
|
|
|
|
class CensoredLocation(models.Model):
|
|
class CensoredLocation(models.Model):
|
|
lat = models.FloatField()
|
|
lat = models.FloatField()
|
|
lng = models.FloatField()
|
|
lng = models.FloatField()
|
|
|
|
+ radius = models.IntegerField(default=800)
|
|
name = models.CharField(max_length=255)
|
|
name = models.CharField(max_length=255)
|