Headless Wagtail CMS: Serializing RichText Stream Blocks

  Рет қаралды 3,380

Coding For Everybody

Coding For Everybody

Күн бұрын

Tutorial: learnwagtail.com/tutorials/he...
Wagtail for Beginners Course: learnwagtail.com/wagtail-for-...
Git Commit: github.com/CodingForEverybody...
Don't forget, pudb is you're best friend when interactively exploring your code
- pip install pudb
- import pudb; pu.db()
For more free tutorials: learnwagtail.com/tutorials/
Don't forget to subscribe to this channel and follow me on Twitter at / kalobtaulien
#Wagtail #Django #Python

Пікірлер: 17
@Cadmeus
@Cadmeus 4 жыл бұрын
I can't thank you enough for this video! I was finding the standard API serialization of EmbedBlock just returned the plain url, but following your video I was able to find the function that created the template html representation in wagtail.embeds.format and take a wild guess that it was expecting "return embed_to_frontend_html(value.url)". Really appreciate that you took the time to show how you found the solution to the problem for richtext so I could follow the same steps.
@Lumpiness9149
@Lumpiness9149 3 жыл бұрын
Just finished watching all the videos. A lot of useful stuff explained clearly. Thanx a lot! Hope to see videos of some caveats of Wagtail (title-rewriting, filtering on nested fields, etc.)
@onnot701
@onnot701 4 жыл бұрын
Again, you make very clear tutorials. Big thx for it!
@RafRasenberg
@RafRasenberg 4 жыл бұрын
Awesome content :)
@yuriyb5998
@yuriyb5998 4 жыл бұрын
Thank you for such a great job. I'd love to see the implementation of comments to blog posts. Is this in your plans?
@opsgma-ats1812
@opsgma-ats1812 3 жыл бұрын
This video is very helpful, thanks a lot. Can you do for us a video (tutorial) of wagtail search please.
@rezkyparma8795
@rezkyparma8795 2 ай бұрын
Hey thank you for the video, i have question how to make image url is to pointin absolute URL or in my case i will using S3
@LouisAgyapong
@LouisAgyapong 3 жыл бұрын
Hi Kaloub, can you make a video on adding wagtail to an existing django project with an example.
@leondaz7380
@leondaz7380 4 жыл бұрын
I came to a random video to ask, I know that InlinePanel works for many relations, But my case has a OneToOne relation and I can't show it in the admin page. My models are Post and GenericPage, GenericPage has a OneToOne('Post'..). Any suggestions?
@leondaz7380
@leondaz7380 4 жыл бұрын
p.s I don't want to put the article model data itself on the page model, I don't also want to get around it and use a foriegnkey or a parentlkey as both will allow a many relation and I don't want that
@tejeshjadhav4172
@tejeshjadhav4172 3 жыл бұрын
I need to display content for particular time. how do i do it? need to create a digital signage system. where i'd want to show different advertisements (videos/images) one after other...loop them maybe..... and display it on a kiosk mode chrome
@hardcodd
@hardcodd 4 жыл бұрын
Wagtail CMS is awesome! Kalob is an awesome man! What about embed responsive KZbin videos in RichTextFIeld? Should I create a custom template filter to handle it or something else?
@CodingForEverybody
@CodingForEverybody 4 жыл бұрын
I would do this purely with CSS if possible.
@hardcodd
@hardcodd 4 жыл бұрын
@@CodingForEverybody Thank you for answer. But there is no css class, just simple div as a parent for =/
@CodingForEverybody
@CodingForEverybody 4 жыл бұрын
@@hardcodd You can target it by its element. Though I usually use a proper embed stream block because it comes with more control that way.
@hardcodd
@hardcodd 4 жыл бұрын
@@CodingForEverybody Yeah, that's a really good way! But tell this to my clients =D They want to use RichTF to paste video between paragraphs. Thank you a lot again! =) I'll try to convince them.
@CodingForEverybody
@CodingForEverybody 4 жыл бұрын
@@hardcodd I always try to educate them on how Wagtail works and why one way seems is better for them. That said, you could overwrite the RichText field and use your own, or create a templatetag (filter) with BeautifulSoup to traverse through the code and wrap more elements around your video embed, too.
How to Add a Basic StreamField to your Wagtail CMS Page
19:34
Coding For Everybody
Рет қаралды 26 М.
How to use Orderables in Wagtail CMS
22:42
Coding For Everybody
Рет қаралды 14 М.
I wish I could change THIS fast! 🤣
00:33
America's Got Talent
Рет қаралды 117 МЛН
That's how money comes into our family
00:14
Mamasoboliha
Рет қаралды 8 МЛН
Wagtail CMS StreamField Quick Demo
2:53
Wagtail
Рет қаралды 1,4 М.
Don't throw exceptions in C#. Do this instead
18:13
Nick Chapsas
Рет қаралды 252 М.
"I Hate Agile!" | Allen Holub On Why He Thinks Agile And Scrum Are Broken
8:33
Headless Wagtail CMS: Custom Image Serializers
6:36
Coding For Everybody
Рет қаралды 3 М.
I wish I could change THIS fast! 🤣
00:33
America's Got Talent
Рет қаралды 117 МЛН