--- a/app/soc/models/seed_db.py Tue Mar 10 21:08:30 2009 +0000
+++ b/app/soc/models/seed_db.py Tue Mar 10 23:55:33 2009 +0000
@@ -29,6 +29,8 @@
from google.appengine.api import memcache
from google.appengine.ext import db
+from django import http
+
from soc.logic.models.ranker_root import logic as ranker_root_logic
from soc.models import student_proposal
from soc.models.document import Document
@@ -323,7 +325,7 @@
memcache.flush_all()
- return
+ return http.HttpResponse('Done')
def clear(*args, **kwargs):
@@ -350,7 +352,8 @@
memcache.flush_all()
- return
+ return http.HttpResponse('Done')
+
def reseed(*args, **kwargs):
"""Clears and seeds the datastore.
@@ -358,3 +361,5 @@
clear(*args, **kwargs)
seed(*args, **kwargs)
+
+ return http.HttpResponse('Done')