From my understanding this is used to load only the attachments related to one paginated page to speed up database querys. This function is only used when showing a topic. We are currently not using attachments at all, but there is an open bug report for this.
If one think this is needed, i have to investigate.
The attached branch is nearly ready. I am unsure about the call to load_related in
http:// bazaar. launchpad. net/~widelands- dev/widelands- website/ trunk/view/ head:/pybb/ views.py# L122
load_related is defined in pybb.orm.py:
http:// bazaar. launchpad. net/~widelands- dev/widelands- website/ trunk/view/ head:/pybb/ orm.py
From my understanding this is used to load only the attachments related to one paginated page to speed up database querys. This function is only used when showing a topic. We are currently not using attachments at all, but there is an open bug report for this.
If one think this is needed, i have to investigate.