wagtail_blocks | awesome Wagtail CMS stream-field blocks | Content Management System library
kandi X-RAY | wagtail_blocks Summary
kandi X-RAY | wagtail_blocks Summary
A Collection of awesome Wagtail CMS stream-field blocks and Charts.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of wagtail_blocks
wagtail_blocks Key Features
wagtail_blocks Examples and Code Snippets
from wagtail_blocks.blocks import HeaderBlock, ListBlock, ImageTextOverlayBlock, CroppedImagesWithTextBlock, \
ListWithImagesBlock, ThumbnailGalleryBlock, ChartBlock, MapBlock, ImageSliderBlock
class HomePage(Page):
body = StreamField([
{% for block in page.body %}
{% include_block block with block_id=block.id %}
{% endfor %}
Community Discussions
Trending Discussions on wagtail_blocks
QUESTION
I have a site that I made using Wagtail (Django) and set up a contact form with a landing page. When using this contact form on localhost, I can successfully add information on the contact form and submit it, which takes me to the landing page.
However, I have hosted this on heroku, and now have a problem with submitting the contact form. When I have submitted the contact form, it gives me an error that the connection was refused [Errno 111]:
...ANSWER
Answered 2021-Feb-03 at 12:11It's failing to send the email notification because you don't have an SMTP backend. You'll need to configure one - see
https://docs.djangoproject.com/en/3.1/topics/email/#smtp-backend
Heroku makes it easy to connect with a range of SMTP providers:
https://devcenter.heroku.com/articles/smtp
We use Mailgun, which has a generous free tier:
https://elements.heroku.com/addons/mailgun
If you don't care about sending emails, you can just push them to the console backend:
https://docs.djangoproject.com/en/3.1/topics/email/#console-backend
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install wagtail_blocks
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page