diff --git a/djangocms_blog/cms_wizards.py b/djangocms_blog/cms_wizards.py index 0310dda..5895236 100644 --- a/djangocms_blog/cms_wizards.py +++ b/djangocms_blog/cms_wizards.py @@ -26,7 +26,7 @@ try: fields = ['app_config', 'title', 'abstract', 'categories'] class PostWizard(Wizard): - template_name = 'djangocms_blog/wizards/create.html' + pass for config in BlogConfig.objects.all().order_by('namespace'): new_wizard = type(slugify(config.app_title), (PostWizard,), {}) diff --git a/djangocms_blog/templates/djangocms_blog/wizards/create.html b/djangocms_blog/templates/djangocms_blog/wizards/create.html deleted file mode 100644 index 14e1a6f..0000000 --- a/djangocms_blog/templates/djangocms_blog/wizards/create.html +++ /dev/null @@ -1,35 +0,0 @@ -{% extends "cms/wizards/base.html" %} -{% load i18n static admin_urls %} - -{% block extrastyle %} - - - {{ block.super }} -{% endblock %} - -{% block wizard %} -