Move to src dir.
[edumed.git] / wtem / views.py
diff --git a/wtem/views.py b/wtem/views.py
deleted file mode 100644 (file)
index 6578e44..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-import os
-
-from django.shortcuts import render
-from django.utils import simplejson
-
-
-def main(request):
-    ## @@ move this out of the view
-    f = file(os.path.dirname(__file__) + '/fixtures/exercises.json')
-    exercises = simplejson.loads(f.read())
-    f.close()
-
-    return render(request, 'wtem/main.html', dict(exercises = exercises))