Skip to content

Commit a784794

Browse files
committed
Proxy liaison sitemap
- Legacy-Id: 3354
1 parent b263998 commit a784794

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

ietf/liaisons/sitemaps.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
# Copyright The IETF Trust 2007, All Rights Reserved
22
#
33
from django.contrib.sitemaps import Sitemap
4+
from django.conf import settings
45
from ietf.liaisons.models import LiaisonDetail
56

7+
if settings.USE_DB_REDESIGN_PROXY_CLASSES:
8+
from ietf.liaisons.proxy import LiaisonDetailProxy as LiaisonDetail
9+
610
class LiaisonMap(Sitemap):
711
changefreq = "never"
812
def items(self):

0 commit comments

Comments
 (0)