My favorites
▼
|
Sign in
django-forum
Simple Django Forum Component
Project Home
Wiki
Issues
Source
Export to GitHub
READ-ONLY: This project has been
archived
. For more information see
this post
.
Search
Search within:
All issues
Open issues
New issues
Issues to verify
for
Advanced search
Search tips
Subscriptions
Issue
74
attachment: managers.py.patch
(449 bytes)
1
2
3
4
5
6
7
8
9
10
11
--- managers.py 2009-08-12 12:26:26.000000000 +0100
+++ managers_new.py 2009-08-12 12:26:13.000000000 +0100
@@ -6,7 +6,7 @@
if groups:
public = Q(groups__isnull=True)
user_groups = Q(groups__in=groups)
- return self.filter(public|user_groups)
+ return self.filter(public|user_groups).distinct()
return self.filter(groups__isnull=True)
def has_access(self, forum, groups):
Powered by
Google Project Hosting