We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4b6dac commit f3a26ccCopy full SHA for f3a26cc
1 file changed
ietf/announcements/sitemaps.py
@@ -3,12 +3,12 @@
3
from django.conf import settings
4
from django.contrib.sitemaps import Sitemap
5
from ietf.announcements.models import Announcement
6
-from ietf.announcements.models import Message
7
8
class NOMCOMAnnouncementsMap(Sitemap):
9
changefreq = "never"
10
def items(self):
11
if settings.USE_DB_REDESIGN_PROXY_CLASSES:
+ from ietf.announcements.models import Message
12
return Message.objects.filter(related_groups__acronym__startswith="nomcom").exclude(related_groups__acronym="nomcom").order_by('-time')
13
return Announcement.objects.all().filter(nomcom=True)
14
def location(self, obj):
0 commit comments