app/soc/models/seed_db.py
changeset 1789 6f112b2ebd1f
parent 1623 8b70d6bb3f8f
child 1791 26fa036d68a0
--- 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')