Commit 5771632c0597df63e9dc04a6e2523a3d1daf0300
- Diff rendering mode:
- inline
- side by side
pm/forum/models.py
(1 / 1)
|   | |||
| 108 | 108 | private = False | |
| 109 | 109 | auth = False | |
| 110 | 110 | if u is not None: | |
| 111 | priv = u.is_staff | ||
| 111 | private = u.is_staff | ||
| 112 | 112 | auth = u.is_authenticated() | |
| 113 | 113 | ||
| 114 | 114 | topics = Topic.objects.annotate(models.Count('post')) |

