Changeset 238

Show
Ignore:
Timestamp:
12/02/09 16:43:54 (9 months ago)
Author:
cmlenz
Message:

Use include_docs instead of obsolete eager parameter in Divan.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/examples/divan/divan/publish.py

    r225 r238  
    9494 
    9595    if collection == 'entries': 
    96         entries = Post.view(app.db, 'posts/by_update', eager=True, 
     96        entries = Post.view(app.db, 'posts/by_update', include_docs=True, 
    9797                            descending=True, limit=10, skip=offset) 
    9898        num_entries = entries.total_rows