# HG changeset patch # User Sverre Rabbelier # Date 1235176253 0 # Node ID d34768bf62d8c684399cdb1275f2edd3a02d69d9 # Parent 69c812b91d3755789dfeca9582d728901ebf23d3 Added a document in the test user's user space This makes it easier to test editing documents. Patch by: Sverre Rabbelier diff -r 69c812b91d37 -r d34768bf62d8 app/soc/models/seed_db.py --- 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()