Commit 0a7f54e9 authored by Sébastiaan Versteeg's avatar Sébastiaan Versteeg

Merge branch 'add-education-sitemap' into 'master'

Add education sitemap

See merge request !1285
parents e5fd37d6 c45bcc91
......@@ -18,7 +18,10 @@ def load_tests(_loader, tests, _ignore):
class SitemapTest(TestCase):
fixtures = ['members.json', 'member_groups.json']
fixtures = [
'members.json', 'member_groups.json',
'merchandiseitems.json',
]
def test_sitemap_success(self):
response = self.client.get('/sitemap.xml')
......
......@@ -41,6 +41,7 @@ from django.views.i18n import JavaScriptCatalog
import members
from activemembers.sitemaps import sitemap as activemembers_sitemap
from documents.sitemaps import sitemap as documents_sitemap
from education.sitemaps import sitemap as education_sitemap
from events.sitemaps import sitemap as events_sitemap
from events.views import AlumniEventsView
from members.sitemaps import sitemap as members_sitemap
......@@ -68,6 +69,7 @@ THALIA_SITEMAP.update(members_sitemap)
THALIA_SITEMAP.update(documents_sitemap)
THALIA_SITEMAP.update(thabloid_sitemap)
THALIA_SITEMAP.update(partners_sitemap)
THALIA_SITEMAP.update(education_sitemap)
THALIA_SITEMAP.update(events_sitemap)
# pragma pylint: disable=line-too-long
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment