Sphene Community Tools

Community

Copyright © 2007-2018 by Herbert Poul

You are not logged in.
Login
Register

Change Language:



AddThis Social Bookmark Button

A Django site.

Powered by Sphene Community Tools

Development/AdvancedObjectList

Development / AdvancedObjectList

Back to Snip <-- Previous Change

Diff Summary
Title
Date 2008-04-19 23:32:58 2008-04-19 23:34:27
Editor Herbert Poul Herbert Poul
Tags

2008-04-19 23:32:58 by Herbert Poul
2008-04-19 23:34:27 by Herbert Poul
36    class TaskList(objlist.AdvancedObjectList):36    class TaskList(objlist.AdvancedObjectList):
37        summary = objlist.AttributeColumn('summary37        summary = objlist.AttributeColumn('summary
>', sortcolumn = 'summary')>', sortcolumn = 'summary')
38        status = objlist.AttributeColumn('owner')38        status = objlist.AttributeColumn('owner')
39        tagcol = TagCategoryColumn()39        tagcol = TagCategoryColumn()
4040
t41an example configuration (json encoded) might lookt41an example configuration might look like (this cou
> like: >ld be python or for example json which is modified
 > by some javascript):
4242
43    ( "summary", "status", { 'column': 'tagcol', '43    ( "summary", "status", { 'column': 'tagcol', '
>tagcategory': 'priority' }, )>tagcategory': 'priority' }, )
4444
45the following conditions must be met:45the following conditions must be met:
4646


Powered by Sphene Community Tools