Zine

open source content publishing system


Ticket #64 (new enhancement)

Opened 9 months ago

Last modified 9 months ago

Documentation of Available Variables

Reported by: dcode Owned by:
Priority: major Milestone:
Component: general Version:
Keywords: Cc:

Description

It would especially help new developers that are interested in enhancing TextPress? (such as myself) if all available variables for a given view were listed somewhere. I started a page on the wiki, but only listed what was in views.py. There are some other seemingly magical objects floating around that I do not yet understand. A mysterious 'h' object in _comment_editor.html and the request object, for instance.

Change History

Changed 9 months ago by rafael

The documentation will be built with Sphinx, which also powers the new python documentation (v2.6 and up).

But for template variables it's the best to list them in the wiki like you started already.

Note: See TracTickets for help on using tickets.