projects
/
pgcommitfest2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e9f99b
)
Minor pycodestyle updates
author
Magnus Hagander
<
[email protected]
>
Tue, 24 Sep 2024 20:31:28 +0000
(22:31 +0200)
committer
Magnus Hagander
<
[email protected]
>
Tue, 24 Sep 2024 20:31:28 +0000
(22:31 +0200)
pgcommitfest/commitfest/views.py
patch
|
blob
|
blame
|
history
diff --git
a/pgcommitfest/commitfest/views.py
b/pgcommitfest/commitfest/views.py
index e268175318189b57add93f57c42fbe5285b86241..2c21cd3d623d86a6fc8a0f639ab127ece520eacf 100644
(file)
--- a/
pgcommitfest/commitfest/views.py
+++ b/
pgcommitfest/commitfest/views.py
@@
-250,9
+250,10
@@
ORDER BY is_open DESC, {1}""".format(where_str, orderby_str), params)
'header_activity_link': 'activity/',
})
+
def patches_by_messageid(messageid):
# First try to find the messageid in our database
- patches = Patch.objects.select_related().filter(mailthread__messageid=messageid).order_by('created',).all()
+ patches = Patch.objects.select_related().filter(mailthread__messageid=messageid).order_by('created',
).all()
if patches:
return patches