▶️ Watch Entire Django Blog Playlist ✅ Subscribe To My RUclips Channel: bit.ly/3bWN6wj bit.ly/2IGzvOR ▶️ See More At: ✅ Join My Facebook Group: Codemy.com bit.ly/2GFmOBz ▶️ Learn to Code at Codemy.com ✅ Buy a Codemy T-Shirt! Take $30 off with coupon code: youtube1 bit.ly/2VC9WUN
Hi John! The slice operation is actually breaking my blog site when I use the ckeditor code snippet plugin. What seems to be happening is that post.content|slice:":200"|safe is cutting off the code snippet too early. This occurs if you happen to have a code snippet very early on in your post. My current workaround is to either move the code snippet further down in my post, or change the slice length. Do you have any suggestions of what I could do to solve this issue? Ideally, I think I need to find another way to add article snippets because the slice operation is naive (sometimes it cuts off words prematurely). Perhaps I need to create a 'preview field' for each post and display this preview on the home page instead of slicing the article content. Any advice is appreciated. Love your videos!
Hey, I finished creating a blog and hosted it, but I would like to know how I can add 'Read also' at the bottom of each post detail page so that my readers can click on the links to the other blog posts and get redirected to the rest of my blog posts?
Hello sir.. I've tested the snippet tag line by adding a new post(snippet post).. But on adding the post it shows some error - {(Hidden field author) Select a valid choice. That choice is not one of the available choices.}..Please help me to solve this error...
i had the same issue too. for me it was the var name in the add_post.html. I had var name = "{{ user.username }}. it should be user.id, as shown below. var name = "{{ user.id }}"; ...
Are you also will made mind reading course :D ? Because when im watch your video and i see some problems which i will get, the answear is in next one XD
Hello John - First - thank you so much for creating this awesome series! I am really hooked. My question is: Whether we can truncate the blog content to show them in the snippet. Basically using something like a truncate.blog.post(0..100)? Second our blog has too many posts on the home page. How do we use a pagination feature to add to the blog. Thank you so much!
Post Notification turned on. I'm addicted to Django now😂😂
Awesome!
▶️ Watch Entire Django Blog Playlist ✅ Subscribe To My RUclips Channel:
bit.ly/3bWN6wj bit.ly/2IGzvOR
▶️ See More At: ✅ Join My Facebook Group:
Codemy.com bit.ly/2GFmOBz
▶️ Learn to Code at Codemy.com ✅ Buy a Codemy T-Shirt!
Take $30 off with coupon code: youtube1 bit.ly/2VC9WUN
I am getting a lot from your Django blog series, thanks again
Glad you're enjoying it!
I’ve been watching your tutorials! Thank you so much 😊
Glad you like them!
Thanks for making my isolation awesome.
Any time!
You are great teacher. I have been watching your Django series and loving it .
Thanks! Glad you're enjoying the videos!
I only watch your videos for python
Best channel for learning programming
Wow, thanks
Thank you very much
You are welcome
Hi John!
The slice operation is actually breaking my blog site when I use the ckeditor code snippet plugin. What seems to be happening is that post.content|slice:":200"|safe is cutting off the code snippet too early. This occurs if you happen to have a code snippet very early on in your post.
My current workaround is to either move the code snippet further down in my post, or change the slice length. Do you have any suggestions of what I could do to solve this issue? Ideally, I think I need to find another way to add article snippets because the slice operation is naive (sometimes it cuts off words prematurely).
Perhaps I need to create a 'preview field' for each post and display this preview on the home page instead of slicing the article content.
Any advice is appreciated. Love your videos!
Great tutorials! I have one question - how to stretch this body field for post edit for it to mach the container width? (like other fields)
Hey, I finished creating a blog and hosted it, but I would like to know how I can add 'Read also' at the bottom of each post detail page so that my readers can click on the links to the other blog posts and get redirected to the rest of my blog posts?
Sure...why not?
Hello sir.. I've tested the snippet tag line by adding a new post(snippet post).. But on adding the post it shows some error - {(Hidden field author) Select a valid choice. That choice is not one of the available choices.}..Please help me to solve this error...
i had the same issue too. for me it was the var name in the add_post.html. I had var name = "{{ user.username }}. it should be user.id, as shown below.
var name = "{{ user.id }}";
...
Are you also will made mind reading course :D ? Because when im watch your video and i see some problems which i will get, the answear is in next one XD
Ha! Glad you're enjoying the videos!
I'm getting an operational error when i make migrations for the new field snippet. Kindly help
The error usually tells you exactly what's wrong. If not, google the error.
We didn't add bootstrap to home page where all blogs are visible
Yes we did. It's on base.html which gets called by all pages. The navbar is bootstrap, you can see it right there on the home page.
Can you add the getbootstrap blog example template plz...
already have
Just add bootstrap to home page as I am creating my website......
We did that, yes
Plz add bootstrap to home page
It's already there, it has been added to all pages.
Hello John - First - thank you so much for creating this awesome series! I am really hooked. My question is: Whether we can truncate the blog content to show them in the snippet. Basically using something like a truncate.blog.post(0..100)? Second our blog has too many posts on the home page. How do we use a pagination feature to add to the blog. Thank you so much!
Plz beautify home page......
Why? We're learning Django here, not CSS and Design