itcs4180/UNCCScavenger-Server/UNCCScavenger_Server/scavenger/models.py

13 lines
390 B
Python
Raw Permalink Normal View History

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)
result = models.TextField()