app/soc/models/seed_db.py
changeset 1453 378c844bf52c
parent 1434 441a2b39f88b
child 1475 22b63ab59b27
--- a/app/soc/models/seed_db.py	Sun Feb 22 10:07:05 2009 +0000
+++ b/app/soc/models/seed_db.py	Sun Feb 22 10:31:45 2009 +0000
@@ -26,6 +26,7 @@
 import itertools
 
 from google.appengine.api import users
+from google.appengine.api import memcache
 from google.appengine.ext import db
 
 from soc.models.document import Document
@@ -284,6 +285,8 @@
   site.home = home_document
   site.put()
 
+  memcache.flush_all()
+
   return
 
 
@@ -309,6 +312,8 @@
   for entity in entities:
     entity.delete()
 
+  memcache.flush_all()
+
   return
 
 def reseed(*args, **kwargs):