Added a document in the test user's user space
This makes it easier to test editing documents.
Patch by: Sverre Rabbelier
--- a/app/soc/models/seed_db.py Fri Feb 20 23:59:23 2009 +0000
+++ b/app/soc/models/seed_db.py Sat Feb 21 00:30:53 2009 +0000
@@ -265,6 +265,22 @@
home_document.put()
+ document_properties = {
+ 'key_name': 'user/test/notes',
+ 'link_id': 'notes',
+ 'scope_path': 'test',
+ 'scope': current_user,
+ 'prefix': 'user',
+ 'author': current_user,
+ 'title': 'My Notes',
+ 'short_name': 'Notes',
+ 'content': 'These are my notes',
+ 'modified_by': current_user,
+ }
+
+ notes_document = Document(**document_properties)
+ notes_document.put()
+
site.home = home_document
site.put()