Package: djangocms-forms-maintained
This project requires django-cms v3.6 or higher to be properly installed and configured.This package is compatible withAldryn.This version useshttps://github.com/praekelt/django-recaptchafor ReCaptcha capabilities.QuickstartInstalldjangocms-forms-maintained:pip install djangocms-forms-maintainedAdddjangocms_formstoINSTALLED_APPS:INSTALLED_APPS = (
    ...
    'djangocms_forms',
    ...
)Sync database tables (requires south>=1.0.1 if you are using Django 1.6.x):python manage.py migrateAdddjangocms_forms.urlsto your project’surlsmodule or create a django CMS page to hook the application into. InAdvanced Settings, set its Application toForms(this requires a server restart):urlpatterns = patterns(
    ...
    path('', include('djangocms_forms.urls')),
    ...
)To use reCAPTCHA for spam protection, you need to sign up for an API key pair for your site:DJANGOCMS_FORMS_RECAPTCHA_PUBLIC_KEY = '<recaptcha_site_key>'
DJANGOCMS_FORMS_RECAPTCHA_SECRET_KEY = '<recaptcha_secret_key>'You can register a new site viahttps://www.google.com/recaptcha/adminConfigurationPlugin(s) Module - If module is None, plugin is grouped Generic group:DJANGOCMS_FORMS_PLUGIN_MODULE = _('Generic')Name of the plugin:DJANGOCMS_FORMS_PLUGIN_NAME = _('Form')The path to the default template used to render the template:DJANGOCMS_FORMS_DEFAULT_TEMPLATE = 'djangocms_forms/form_template/default.html'or override theForm Templatedropdown choices to have different template options:DJANGOCMS_FORMS_TEMPLATES = (
    ('djangocms_forms/form_template/default.html', _('Default')),
)HTML5 required - When set to True all required fields inputs will be rendered with HTML5required=requiredattribute:DJANGOCMS_FORMS_USE_HTML5_REQUIRED = FalseBy default,djangocms-formsadds additional css classes to all form inputs. e.g. aTextfield generates an<inputclass="textinput">You can override this to integrate your own CSS framework:DJANGOCMS_FORMS_WIDGET_CSS_CLASSES = {'__all__': ('form-control', ) }e.g. the above setting would generate<inputclass"form-control"....for all fields.By default, djangocms-forms will redirect a successful form submission after 1000 milliseconds (1 second). You may provide your own redirect delay value for all forms site-wide via settings:DJANGOCMS_FORMS_REDIRECT_DELAY = 10000  # 10 secondsor on a per-form basis via theredirect_delayfield. The order of precedence for the redirect value is always:instance.redirect_delay > DJANGOCMS_FORMS_REDIRECT_DELAY > 1000 (default)As of 202206141310 you can now specify new FORMAT_CHOICES for the form, since tablib seems to be a bit finicky in the latest version:DJANGOCMS_FORMS_FORMAT_CHOICES = (
    ("csv", _("CSV")),
    ("json", _("JSON")),
    ("yaml", _("YAML")),
    ("xlsx", _("Microsoft Excel")),
)PreviewYou may also like the original author’s plugins…djangocms-disqus -https://github.com/mishbahr/djangocms-disqusdjangocms-embed -https://github.com/mishbahr/djangocms-embeddjangocms-fbcomments -https://github.com/mishbahr/djangocms-fbcommentsdjangocms-gmaps -https://github.com/mishbahr/djangocms-gmapsdjangocms-instagram -https://github.com/mishbahr/djangocms-instagramdjangocms-responsive-wrapper -https://github.com/mishbahr/djangocms-responsive-wrapperdjangocms-twitter2 -https://github.com/mishbahr/djangocms-twitter2djangocms-youtube -https://github.com/mishbahr/djangocms-youtube