willhardy/django-seo

Unable to use namespacing in view names

Opened this issue · 0 comments

ukch commented

To reproduce:

  • Create a list of URLs with a namespace (ie. by using include)
  • Define a metadata in seo.py, with namespace:view_name in its seo_views
  • Create an instance of the metadata for namespace:view_name

Expected: SEO now applies to the view
Actual: SEO missing from the view.

A workaround is to use view_name as the view name, but this will cause problems with multiple namespaces.