diff options
author | Dhiru <dhiru@labadmin-P5E-Deluxe.(none)> | 2012-06-16 18:38:21 +0530 |
---|---|---|
committer | Dhiru <dhiru@labadmin-P5E-Deluxe.(none)> | 2012-06-16 18:38:21 +0530 |
commit | 6d7c90142f6cd3f08e0ee28216392c421711a209 (patch) | |
tree | 8f09a817c710358a680908fd3c0e9abb643974bc /gstudio/templatetags | |
parent | c09d5d8fc986e4df80e617d298ae3ecef00860fa (diff) | |
download | gnowsys-6d7c90142f6cd3f08e0ee28216392c421711a209.tar.gz |
cleaned up the interface, search and rss feeds in the header, home page, third column removed, versions as a series of '+' marks below the title.
Diffstat (limited to 'gstudio/templatetags')
-rw-r--r-- | gstudio/templatetags/gstudio_tags.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gstudio/templatetags/gstudio_tags.py b/gstudio/templatetags/gstudio_tags.py index a22715e..47dbbff 100644 --- a/gstudio/templatetags/gstudio_tags.py +++ b/gstudio/templatetags/gstudio_tags.py @@ -68,10 +68,10 @@ def get_metatypes(template='gstudio/tags/metatypes.html'): @register.inclusion_tag('gstudio/tags/dummy.html') -def get_authors(template='gstudio/tags/authors.html'): +def get_authors(number=5, template='gstudio/tags/authors.html'): """Return the published authors""" return {'template': template, - 'authors': Author.published.all()} + 'authors': Author.published.all()[:number]} @register.inclusion_tag('gstudio/tags/dummy.html') |