From 950a188e301b04feb6ed0f6f3a56bed2cd6711e0 Mon Sep 17 00:00:00 2001 From: Bradlee Speice Date: Tue, 1 Apr 2014 19:26:17 -0400 Subject: [PATCH] Don't actually need the templates --- .../UNCCScavenger_Server/scavenger/models.py | 1 + .../scavenger/templates/location.xml | 9 --------- .../scavenger/templates/result.html | 12 ------------ 3 files changed, 1 insertion(+), 21 deletions(-) delete mode 100644 UNCCScavenger-Server/UNCCScavenger_Server/scavenger/templates/location.xml delete mode 100644 UNCCScavenger-Server/UNCCScavenger_Server/scavenger/templates/result.html diff --git a/UNCCScavenger-Server/UNCCScavenger_Server/scavenger/models.py b/UNCCScavenger-Server/UNCCScavenger_Server/scavenger/models.py index caa9dd9..4ffa69b 100644 --- a/UNCCScavenger-Server/UNCCScavenger_Server/scavenger/models.py +++ b/UNCCScavenger-Server/UNCCScavenger_Server/scavenger/models.py @@ -5,5 +5,6 @@ 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 = models.CharField(max_length=16) result = models.TextField() diff --git a/UNCCScavenger-Server/UNCCScavenger_Server/scavenger/templates/location.xml b/UNCCScavenger-Server/UNCCScavenger_Server/scavenger/templates/location.xml deleted file mode 100644 index 4c56473..0000000 --- a/UNCCScavenger-Server/UNCCScavenger_Server/scavenger/templates/location.xml +++ /dev/null @@ -1,9 +0,0 @@ - - {% for location in locations %} - - {{ location.image_url }} - - {{ location.riddle }} - - {% endfor %} - diff --git a/UNCCScavenger-Server/UNCCScavenger_Server/scavenger/templates/result.html b/UNCCScavenger-Server/UNCCScavenger_Server/scavenger/templates/result.html deleted file mode 100644 index f842fea..0000000 --- a/UNCCScavenger-Server/UNCCScavenger_Server/scavenger/templates/result.html +++ /dev/null @@ -1,12 +0,0 @@ - - - UNCC Scavenger - - - - - -

{{ title }}

-

{{ body }}

- -