Re: Extending contrib.admindocs functionality

2015-06-05 Thread Žan Anderle
Good point. Yeah, I opened a ticket, but forgot to add it here. https://code.djangoproject.com/ticket/24917 Dne petek, 05. junij 2015 00.51.15 UTC+2 je oseba Marc Tamlyn napisala: > > This seems like a good idea to me. I'm not convinced that the original use > case for admin docs (documenting

Re: Extending contrib.admindocs functionality

2015-06-04 Thread Marc Tamlyn
This seems like a good idea to me. I'm not convinced that the original use case for admin docs (documenting features which only work in templates for the template author) is valid any more - especially with a Django in which you can use jinja2 easily where function calls are allowed. The

Extending contrib.admindocs functionality

2015-06-04 Thread Žan Anderle
contrib.admindocs will only document template tags and functions that can be invoked from templates. Therefore it has limited use. It would be really useful to be able to document all of the functions in the models (not just the ones that don't take any arguments). contrib.admindocs is a neat