diff options
author | Aurélien Bompard <aurelien@bompard.org> | 2013-07-12 13:07:19 +0200 |
---|---|---|
committer | Aurélien Bompard <aurelien@bompard.org> | 2013-07-12 13:07:19 +0200 |
commit | 190bf89337ec93b6325e91c3165b1a3d5c37d6a1 (patch) | |
tree | 094249856c285571140c589009bfa01fd6243064 | |
parent | d458fb6dcdf464488e008c6eff316a5bcfc077b6 (diff) | |
download | hyperkitty-190bf89337ec93b6325e91c3165b1a3d5c37d6a1.tar.gz hyperkitty-190bf89337ec93b6325e91c3165b1a3d5c37d6a1.tar.xz hyperkitty-190bf89337ec93b6325e91c3165b1a3d5c37d6a1.zip |
Documentation and a small fix
-rw-r--r-- | doc/install.rst | 3 | ||||
-rw-r--r-- | hyperkitty/views/list.py | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/doc/install.rst b/doc/install.rst index d7c35a0..b335d18 100644 --- a/doc/install.rst +++ b/doc/install.rst @@ -116,6 +116,9 @@ command:: python hyperkitty_standalone/manage.py loaddata first_start +Thread categories can be edited and added from the Django administration +interface (append ``/admin`` to your base URL). + Upgrading ========= diff --git a/hyperkitty/views/list.py b/hyperkitty/views/list.py index 510d53b..e6069f8 100644 --- a/hyperkitty/views/list.py +++ b/hyperkitty/views/list.py @@ -233,7 +233,7 @@ def overview(request, mlist_fqdn=None): for thread in active_threads: if not thread.category: continue - if len(threads_by_category.setdefault(thread.category, [])) > 5: + if len(threads_by_category.setdefault(thread.category, [])) >= 5: continue threads_by_category[thread.category].append(thread) |