▶️ Watch Entire Django Blog Playlist ✅ Subscribe To My KZbin 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
@Joisthename3 жыл бұрын
Of all the tutorials I’ve watched about python django- I never thought I could get this far in this amazing playlist. I’ve learned a lot and yes! I’m gratefuuuuul
@Codemycom3 жыл бұрын
Glad it helped!
@christopherk41663 жыл бұрын
For anybody else who was wondering - I've been doing a bit of research on how safe it is render the generated rich text on a page. Obviously, you wouldn't want people to be injecting tags into your page. Thankfully django-ckeditor sanitizes the code before it gets saved in your database. tags don't work either. Neither do inline styles or script attributes like 'onclick'.
@danieldiaz8553 жыл бұрын
Yeah but the risk remains because you can see and modify the source code!
@christopherk41663 жыл бұрын
@@danieldiaz855 If I remember correctly, I tested this with by modifying the POST data before it was sent. The validation and sanitation happens server-side.
@Hollands25114 жыл бұрын
Great vid! Straight to the point and just the right amount of detail. 5 minutes of this video had me finish what I tried to do for half an hour myself
@Codemycom4 жыл бұрын
Awesome!
@khadijahalsmiere37183 жыл бұрын
OMG ! did you know that you just saved my life?? big thank you and big like and big subscribe and big notification on! you deserve it man.
@Codemycom3 жыл бұрын
Glad you liked it!
@ryanegbe87311 ай бұрын
wow, great video, I must say. 5:33 Line 24 has saved me from the frustration I have been going through for a week now. Thank You so much💗💗💗💗💗💗
@Codemycom11 ай бұрын
Happy to hear it!
@geeorge3 жыл бұрын
this is the 4th editor I'm trying to use with django and the first time it actually works. Many thanks!!
@Codemycom3 жыл бұрын
Welcome!
@coolshoeshine2 жыл бұрын
Another super excellent video where it just straight up answered a question with no bs in the way. You sir are a king amongst men.
@Codemycom2 жыл бұрын
Glad you enjoyed it!
@chiccoaderik Жыл бұрын
Always great and surprisingly quick and easy what you do for us. I will never stop thanking you. Excuse me for my barely enough English. Riccardo
@Codemycom Жыл бұрын
Thanks, I appreciate it!
@ali_sadrian2 жыл бұрын
Your youtube channel is the best in the game. I'm a legit fan of yours now
@softwareengineer89239 ай бұрын
It was quite informative, thank you!
@Codemycom9 ай бұрын
Welcome
@antorzuck3 жыл бұрын
ladies and gentleman, this guy is a legend
@Codemycom3 жыл бұрын
Thanks!
@lawrenlelko2 жыл бұрын
ckeditor - is responsive! WooHoo!
@Codemycom2 жыл бұрын
nice
@muhammadsalmanahmed55413 жыл бұрын
I was trying to figure this out for a long time. Thank You.
@Codemycom3 жыл бұрын
Welcome!
@andrewsmichael70474 жыл бұрын
Your teaching is so cool to understand, Thank you
@Codemycom4 жыл бұрын
Thanks! Glad you're enjoying it!
@amritsubramanian83843 жыл бұрын
you are exceptional, thanks for giving me a hand on developing a blog
@Codemycom3 жыл бұрын
thanks for watching!
@adamflanagan1879 Жыл бұрын
I love that I tried it myself with def __init__ just to watch the video after and see a different and better way to do it. This is a really, really good KZbin tutorial series!
@rahamanhabib13474 жыл бұрын
Great!!! It worked... Responsive problem in design though
@Codemycom4 жыл бұрын
There shouldn't be
@motiurrahman87512 жыл бұрын
Take love and respect mate!
@Codemycom2 жыл бұрын
Thanks!
@juricapuljiz57382 жыл бұрын
Wow, closest thing to magic, thanks so much!
@princegupta80224 жыл бұрын
The way you teach is Awesome 💓
@Codemycom4 жыл бұрын
Thank you!
@deyvidsantos36632 жыл бұрын
Excellent video and excellent explaining, Thank you very much.
@Codemycom2 жыл бұрын
Thanks!
@leonardodasilvadiasjunior3899 Жыл бұрын
Very amazing, master. Congratulations, you are the man.
@Codemycom Жыл бұрын
thanks
@RugvedhiGuru4 жыл бұрын
awesome content bro ... love it .. Best Django Tuts on youtube.. u make it look so easy ..
@Codemycom4 жыл бұрын
Glad you like it!
@aminvasefpoor53833 жыл бұрын
Man! You saved my life with this video! Thanks :D
@Codemycom3 жыл бұрын
Happy to hear it!
@agentNirmites2 жыл бұрын
This video is great!
@Codemycom2 жыл бұрын
Thanks!
@trong-datnguyen34262 жыл бұрын
when I add post, the field title tag appear "Select a valid choice. That choice is not one of the available choices. ", anyone get same error with?
@innocent8484 Жыл бұрын
When I try to export my query to a word file, I cannot use the safe feature, so I cannot read the data. I cannot view the value because the tag is recorded in the database. Is there a solution for this?
@nikithashekhar1522 Жыл бұрын
(Hidden field author) Select a valid choice. That choice is not one of the available choices. Why does it shows this when i try to post a new blog ? Please Answer
@bnodtwari3 жыл бұрын
Hey I am not finding a well verged explanation on how to style this even in the documentation, could you please explain?
@rangabharath42534 жыл бұрын
awesome as always. Clear explanation
@Codemycom4 жыл бұрын
Thanks! Glad you liked it
@080somyasrivastava63 жыл бұрын
Thanks for such an amazing tutorial
@Codemycom3 жыл бұрын
Thanks for watching!
@kashibrown99892 жыл бұрын
this is amazing man... THANK YOU!
@Codemycom2 жыл бұрын
Welcome! Glad you found it useful!
@CitizenCoder4 ай бұрын
Hey manh, first I wanted to say I love your teaching style and how easy you make things. I was able to easily integrate this with my existing app. However, I found out after getting it installed and running that the company no longer supports it, and they want you to pay to upgrade etc(not afraid of paying, but no budget at the moment). Is there another one that you would recommend to use, that is maybe just as easy to implement? I've looked at Quill but I can't seem to get it working. Thanks for your video and your time.
@Codemycom4 ай бұрын
sorry no
@ketanpatil30644 жыл бұрын
Thank you for the video Mr.White
@Codemycom4 жыл бұрын
lol
@ferdousahmed51593 жыл бұрын
How can i upload images from my pc with ckeditor
@jonadabedesantanapinho3072 Жыл бұрын
Thank you, brow!
@Codemycom Жыл бұрын
welcome
@bhanuprakash97653 жыл бұрын
I got it...what iam searching for...tnq
@ali_sadrian2 жыл бұрын
Thank you Sir! Amazing!
@Codemycom2 жыл бұрын
Welcome!
@CodeBreakersOfficial4 жыл бұрын
you are awesome sir plz make a video on inventory management system
@elegantdigitalskills30734 жыл бұрын
Hello, John Elder, you are a true Legend. well i am having problems when Adding post with Ckeditor. I have added Safe to avoid the html tags but it only disappeared on home page. when i click on one blog post to read i find tags in there and no line breaks...
@Codemycom4 жыл бұрын
if you added safe to the home page...yeah, it will only effect things on the homepage...you have to add it to the blog post pages if you want it there too.
@elegantdigitalskills30734 жыл бұрын
@@Codemycom Thanks for your response. It worked well. Be blessed
@Codemycom4 жыл бұрын
@@elegantdigitalskills3073 Awesome
@dradrigapatrick4 жыл бұрын
I used to think these things are hard, but now you have show to me that they are actually not. How do you guys remember all of these stuff!! I need the trick. I love the Tutorial. I can see where am going.
@Codemycom4 жыл бұрын
Glad you're enjoying the videos!
@tailorjaimin51614 жыл бұрын
Thank You So Much for your videos I am implemented with you 😀
@Codemycom4 жыл бұрын
Thanks!
@brunopetinatijs3 жыл бұрын
OMG YOU HELPED ME SO MUCH THANKS
@Codemycom3 жыл бұрын
Glad I could help!
@vanessaveizaga9622 жыл бұрын
hola! sigo todos los pasos del video, y el editor me aparece en el admin, pero no en la página. Que será? Gracias por tus videos!!
@Codemycom2 жыл бұрын
rewatch the video and try again
@mikey80999 ай бұрын
Does adding 'safe' tag makes the default escaping for that field disabled. If yes does it means that the data entered in that field is not sanitized?
@watsoncyrusanikwai38882 жыл бұрын
Awesome man! Thanks!
@Codemycom2 жыл бұрын
Welcome!
@bartcarpenter94273 жыл бұрын
Great video...Is there a more robust editor available for Django? Select the font type, size, page breaks etc?
@maihuire113 жыл бұрын
Excellent.
@Codemycom3 жыл бұрын
Many thanks!
@gabrieuz2 жыл бұрын
Thank You.
@Codemycom2 жыл бұрын
Welcome
@sriram97863 жыл бұрын
I like the way he tells smash the like button and subscribe
@Codemycom3 жыл бұрын
:-)
@mtrkhan5664 жыл бұрын
Can you add one more thing? I want to know "how to add comments in a blog post"?
@Codemycom4 жыл бұрын
Yeah will probably get to that
@ulvidamirli27584 жыл бұрын
@@Codemycom Thanks!! Online chat and or chatbot would be very interesting as well.
@harmankibue24973 жыл бұрын
Hello is it a must to have a form file in order for ckeditor to work?
@tanayawankar58043 жыл бұрын
Best tutorial 👌
@Codemycom3 жыл бұрын
Thanks!
@mtrkhan5664 жыл бұрын
Thanks for this video
@Codemycom4 жыл бұрын
Thanks for Watching!
@fabiof.deaquino47314 жыл бұрын
Great job :)
@Codemycom4 жыл бұрын
Thank you!
@aminalih47644 жыл бұрын
Hello , thank for video I have a question this rich text work correctly on django admin panel but in my admin panel it doesn't work how can I fix it ?
@rajpanchal21693 жыл бұрын
if You solve it tell me please
@aminalih47643 жыл бұрын
@@rajpanchal2169 Hello friend , according to the ckeditor (RichText) documentation we should add some custom setting in SETTING.py file in django project
@jaysuthar26174 жыл бұрын
Thank You so much
@Codemycom4 жыл бұрын
You're most welcome
@adelabu-ghazaleh12284 жыл бұрын
Great man thank you
@Codemycom4 жыл бұрын
You're welcome!
@nbleijie4 жыл бұрын
Hi great video! Works like a charm! One question though, how do you remove certain buttons from the toolbar?
@Codemycom4 жыл бұрын
I'm not sure you do...check the documentation
@ps-vq3wf3 жыл бұрын
|safe tag is not recognized in react. The html tags are appearing as they are. How can we solve this ?
@Codemycom3 жыл бұрын
This is not a react course
@imadsalim95864 жыл бұрын
Hi Mr John Elder, you are doing great job , plz can you make video bout creating chatbot using django
@Codemycom4 жыл бұрын
I don't really know anything about chatbots, sorry
@bigsandip4 жыл бұрын
Nice
@Codemycom4 жыл бұрын
Thanks!
@cyber_coding64692 жыл бұрын
what about responsiveness of your website once you add ck-editor
Hi, I want to use {{ form.body }} instead of {{ form.as_p }} in order to customize my add page but it doesnt work. Not showing editor.
@sriram97863 жыл бұрын
How jt handles cross site request attack. Meaning how it handles tag injected how it is going to clean the harmful tags?? Thank you 🌹 your videos are always awesome. Waiting for your reply
@Codemycom3 жыл бұрын
django uses csrf tokens
@sriram97863 жыл бұрын
@@Codemycom I am asking cross site scripting sorry.
@ali_sadrian2 жыл бұрын
Are the fields (bold, italic, etc) editable? For instance can I remove the image icon from it?
@bashbukari10894 жыл бұрын
nice video
@Codemycom4 жыл бұрын
Thanks!
@achillestroy3122 Жыл бұрын
Can we add a signature from this editor like if I create some letter or application and at the end I want to add my signature how can I do that ?
@manny766211 ай бұрын
What if I'm using a crispy form with ckeditor?
@ufukcicek9976 Жыл бұрын
Hello, I also use Editorjs in my project. But I have a problem, I can save images and files in the editor in my local, but when I deeploy the project, I get an error. It says it can't find the file. I searched a lot but couldn't find a solution. Do you have any idea about this topic?
@Codemycom Жыл бұрын
Sorry, never heard of that
@DanialAzarpanah7 ай бұрын
How can I add additional fonts to ckeditor? I would really love if somebody got a straight forward solution for it
@zainulhassan91863 жыл бұрын
CKEditor Not Working to My Post Page .Because I am Styling My Website Using CSS Only. What Can I Do For This ?
@scoryjf1154 Жыл бұрын
Despite your fucking langage which obliged me to quickly progress in english, i also quickly progress in python django html... Thank a lot !
@Codemycom Жыл бұрын
You're welcome, I think...
@bintangpratomo88793 жыл бұрын
hiiii i have a question about the ckeditor. the django ckeditor has no class name each element, so how i can set default class name on each element? example : when i add an image, the image element tag will be like this
@amirsohail23685 ай бұрын
please give us github repo as well, it will help a lot, thanks
@Jesufemi_O3 жыл бұрын
Hi, great content here! Please, I'm looking to use CKeditor with Django rest framework browsable API, how do I go about serializing the body field in my post serializer? thank you :)
@samkim56123 жыл бұрын
Same
@twoandhalfbengals2 жыл бұрын
cool.. can you explain how to make this work on AWS and S3? keep getting files forbidden. It's trying to load from my app, not sure why..
@Codemycom2 жыл бұрын
No
@krankerapfel4 жыл бұрын
Thank you for this great video ! Do you know if it's possible to pick a picture in our project database. Or if we can dev a custom button ?
@Codemycom4 жыл бұрын
Sorry, not sure what you mean
@esvictor3 жыл бұрын
Smaaaash button
@Codemycom3 жыл бұрын
ha!
@kruthikeshmk Жыл бұрын
Can we still do this without forms.py on a text input field?
@ulvidamirli27584 жыл бұрын
Thanks!!
@Codemycom4 жыл бұрын
No problem!
@akashpatil46133 жыл бұрын
Ckeditor is not working when I used the AWS S3 bucket. Somebody plz help !!!
@almiracontracting51192 жыл бұрын
thanks
@Codemycom2 жыл бұрын
Welcome
@Node20203 жыл бұрын
but how to edit the size of the ckeditror image in HTML so that on the pre-display page the image fits into the card?Thank you!
@WVZoro3 жыл бұрын
put it inside a div with the height and weight you want. it should adapt to that div
@idkname Жыл бұрын
what if upload img, it works?
@andresmon333 жыл бұрын
how can I protect that ckeditor input of malicius script tag?
@sairamsr71313 жыл бұрын
NoReverseMatch at /addpost/ Reverse for 'Blog' with arguments '('4', '8')' not found. 1 pattern(s) tried: ['blog/(?P[0-9]+)$'] how to solve this error this thing i am geting both places while creating and updating article actully i tried using success_url = reverse_lazy("home") but after updating image or url in rich text editor thowrs me this error
@universefacts6757 Жыл бұрын
How to interact with this using js events?
@programmer5183 жыл бұрын
hello thank for this video I have two questions how to change the language in ckeditor and is django-ckeditor-5 same as this pakage? thank you
@Codemycom3 жыл бұрын
Sorry, not sure
@ulvidamirli27584 жыл бұрын
What if I want non-styled version of text for my list view page. But styled in my detail page view. Thanks again for awesome tutorial, BTW!
@Codemycom4 жыл бұрын
Nothing stopping you from doing that
@ulvidamirli27584 жыл бұрын
@@Codemycom yeah, I found the answer. Using strip_tags from django.utils.html
@jaybon20762 жыл бұрын
@@ulvidamirli2758 how did you do this exactly? I can't seem to figure it out
@jaybon20762 жыл бұрын
figured it out, {{ post.body | slice:":200" | safe | striptags }} in the home.html doc
@zaheerbeg4810 Жыл бұрын
how can implement this without django forms
@harshdeepsingh93243 жыл бұрын
Please make a video on how to add ads on our website
@Codemycom3 жыл бұрын
Just paste the ad code anywhere you want on your site
@edwardhanson8039 Жыл бұрын
i did not use the form.as_p, i made an html form and linked it to the model, the ckeditor is not showing, how do i solve it please?
@Codemycom Жыл бұрын
use form.as_p
@funwithpython8833 жыл бұрын
Can I get help with how to insert a local image in TinyMCE?
@lucky00203 жыл бұрын
Great video but when user add emoji or image it breaks the layout and style of html page, is there any solution to this problem?
@rogueDukakis Жыл бұрын
It has to do with "slice" on the home page. I'm trying to figure it out.
@koreckie49672 жыл бұрын
Hi, is there any way to put the max size of an image. For example when I upload an image and it is over 500 width and 500 height then the post is not created and there will be an alert.
@Codemycom2 жыл бұрын
Probably, but I don't have videos on that
@koreckie49672 жыл бұрын
@@Codemycom so do you know any way to do it?
@fariaius38743 жыл бұрын
Works Fine at my localhost but doesn't at server....Please Help
@Codemycom3 жыл бұрын
I have videos on pushing sites to heroku for hosting. It's a whole thing
@theglammcoder4 жыл бұрын
Hey , ckeditor is going out of my container of my add_post page, Any idea how can i adjust the size of ckeditor ???