From 6769e75c9c94c83590b960eb4f294232aede39b8 Mon Sep 17 00:00:00 2001 From: Bradlee Speice Date: Tue, 1 Apr 2014 19:30:15 -0400 Subject: [PATCH] Move location to DecimalFields --- UNCCScavenger-Server/UNCCScavenger_Server/scavenger/models.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/UNCCScavenger-Server/UNCCScavenger_Server/scavenger/models.py b/UNCCScavenger-Server/UNCCScavenger_Server/scavenger/models.py index 4ffa69b..fe9386c 100644 --- a/UNCCScavenger-Server/UNCCScavenger_Server/scavenger/models.py +++ b/UNCCScavenger-Server/UNCCScavenger_Server/scavenger/models.py @@ -6,5 +6,7 @@ class Location(models.Model): name = models.CharField(max_length=32) riddle = models.CharField(max_length=512) riddle_image_url = models.URLField() - location = models.CharField(max_length=16) + + location_long = models.DecimalField() + location_lat = models.DecimalField() result = models.TextField()