from django.db import models

class Gps(models.Model) :
	x = models.DecimalField(max_digits=30, decimal_places=20)
	y = models.DecimalField(max_digits=30, decimal_places=20)
	
	def toJson(self) :
		return {
			'x' : self.x,
			'y' : self.y
		}
from django.db import models

class Gps(models.Model) :
	x = models.DecimalField(max_digits=30, decimal_places=20)
	y = models.DecimalField(max_digits=30, decimal_places=20)
	
	def toJson(self) :
		return {
			'x' : self.x,
			'y' : self.y
		}