Changes between Version 1 and Version 2 of Ticket #26939
- Timestamp:
- Jul 25, 2016, 9:46:27 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #26939
- Property Component Uncategorized → contrib.sitemaps
- Property Triage Stage Unreviewed → Accepted
- Property Summary Django 1.9.8 Sitemaps is broken due to "isinstance() arg 2 must be a class, type, or tuple of classes and types" → sitemaps crashes with "isinstance() arg 2 must be a class, type, or tuple of classes and types"
-
Ticket #26939 – Description
v1 v2 2 2 The following code failed: 3 3 {{{ 4 from django.contrib.sitemaps.views import sitemap 4 5 from mezzanine.core.sitemaps import DisplayableSitemap 5 sitemaps = {"sitemaps": {"displayable": DisplayableSitemap , 'views': SwiftypeSitemap}}6 urlpatterns += patterns("django.contrib.sitemaps.views", ("^sitemap\.xml$", "sitemap", sitemaps))6 sitemaps = {"sitemaps": {"displayable": DisplayableSitemap}} 7 urlpatterns += [url("^sitemap\.xml$", sitemap, sitemaps)] 7 8 }}} 8 9 The trace back: