2014-03-26 23:26:57 -04:00
|
|
|
from django.db import models
|
|
|
|
|
|
|
|
class Location(models.Model):
|
|
|
|
|
|
|
|
key = models.CharField(max_length=32)
|
|
|
|
name = models.CharField(max_length=32)
|
|
|
|
riddle = models.CharField(max_length=512)
|
2014-04-01 19:26:17 -04:00
|
|
|
riddle_image_url = models.URLField()
|
2014-04-01 19:30:15 -04:00
|
|
|
|
2014-04-05 16:58:42 -04:00
|
|
|
location_long = models.DecimalField(max_digits=10, decimal_places=7)
|
|
|
|
location_lat = models.DecimalField(max_digits=10, decimal_places=7)
|
2014-03-26 23:26:57 -04:00
|
|
|
result = models.TextField()
|