1
0
mirror of https://github.com/bspeice/itcs4180 synced 2024-11-14 11:28:14 -05:00
itcs4180/UNCCScavenger-Server/UNCCScavenger_Server/scavenger/models.py
2014-04-05 16:58:42 -04:00

13 lines
390 B
Python

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)
riddle_image_url = models.URLField()
location_long = models.DecimalField(max_digits=10, decimal_places=7)
location_lat = models.DecimalField(max_digits=10, decimal_places=7)
result = models.TextField()