mirror of
https://github.com/bspeice/itcs4180
synced 2024-11-14 03:18:12 -05:00
13 lines
390 B
Python
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()
|