You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If there are no wagtail sites the site_template_bas_dir context_manager raises an DoesNotExist-Exception. This is bad if django-cast is used in one part of a site, but does not get used in another part. View tests for the non django-cast non wagtail part will run into this since they don't need a wagtail site.
Workaround: Make the context_processor pass even if there are no wagtail sites and set the base template dir name to a "does_not_exist" default.
The text was updated successfully, but these errors were encountered:
If there are no wagtail sites the
site_template_bas_dir
context_manager raises an DoesNotExist-Exception. This is bad if django-cast is used in one part of a site, but does not get used in another part. View tests for the non django-cast non wagtail part will run into this since they don't need a wagtail site.Workaround: Make the context_processor pass even if there are no wagtail sites and set the base template dir name to a "does_not_exist" default.
The text was updated successfully, but these errors were encountered: