▶️ Watch Entire Django Wednesdays Playlist ✅ Subscribe To My UA-cam Channel: bit.ly/35Xo9jD 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 ▶️ Get The Code bit.ly/3sJpeV6
Hi! Nice video. You know, I would like to do exactly the opposite. Read texts from a text file (for example a list of questions and answers) into django database. How would you do that? I can read from a CSV file, and that is easy. How would you go about is ok, but can you explain how to do it from a raw text file or even MS Word .
when I click the Venue Text File button I am not getting all those options to either just see it or save it, it is just simply downloading it. Please help! I tried trying 'inline' instead of 'attachment' now still not getting options but just seeing those texts!
When I click the link the machine brings up a download window and puts the file into downloads rather than as per your system offering me the options. (windows 11 and Edge browser)
Hi John, I used your codes in my different project and i have a different things in txt file. Such as; How can i fix this. And how can i make just save as a txt file in forexample templates/text_files?
@@Codemycom I want to convert from a CSV file to an AutoCAD file and I succeeded in that, but after the conversion, I cannot access the converted file because I do not want to save it on the server, but when converting it it generate file to download it on click.
▶️ Watch Entire Django Wednesdays Playlist ✅ Subscribe To My UA-cam Channel:
bit.ly/35Xo9jD 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
▶️ Get The Code
bit.ly/3sJpeV6
Hi! Nice video. You know, I would like to do exactly the opposite. Read texts from a text file (for example a list of questions and answers) into django database. How would you do that? I can read from a CSV file, and that is easy. How would you go about is ok, but can you explain how to do it from a raw text file or even MS Word .
Thank you for the clear and easy instructions!
Welcome!
Love the simplicity, something very hard in technical fields
Thanks!
John Elder is awesome.
Ha thanks!
Thanks for the lesson. my project involves creating documents to be downloaded. perfect lesson at the perfect time. :)
awesome
Thanks for this .. this helped me to create vcf files with customer details on the fly... Thanks a tonnnn
Glad to hear it!
Thanks for this video. It has been very helpful. I slightly adapted if for my case where I need to save a single post in my app to a text file.
awesome
Great tutorial! Thanks mate
Welcome!
Nice work.....will you post a video for viewing events in calendar with some calendar style stuff...and also notice board like upcoming events
Probably will
Great Sir! A new concept. Thanks!
Enjoy!
Thank you! You helped me a lot!
Happy to hear it!
You earned a new subscriber.
Appreciate it!
Thanks for this! That was exactly what i needed.
Happy to hear it
You are a genius!
Just Amazing👍👍
Ha, glad you liked it
Great Great Great work!!!
Thanks a lot!
Hello! Do you know how to generate a txt file but have it attached to the model as a field?
I don't have any videos on that
could you make a video for generating .doc or .docx files as well or can this method work as well
No sorry
Well explained. Thanks a ton. 👍
Most welcome!
Sir I used Ajax in django form.is_valid() method returns false without Ajax it validate the form
I don't have any videos on Ajax.
I want to clarify one point.
To display the text correctly in Notepad (Windows), you need to set `
`.
when I click the Venue Text File button I am not getting all those options to either just see it or save it, it is just simply downloading it. Please help! I tried trying 'inline' instead of 'attachment' now still not getting options but just seeing those texts!
What did you do differently from the video?
When I click the link the machine brings up a download window and puts the file into downloads rather than as per your system offering me the options. (windows 11 and Edge browser)
That's a setting in your web browser. You can change that in your browser settings
@@Codemycom Thanks
Can I also use this code to generate .txt file on django admin? My aim is to save user's information. Tha backend is an API.
Huh? Your users info is already saved on the database, you don't need to add it to a text file to save it...
Thx 😊
Welcome!
sir how to turn text into webpage?
Hi John,
I used your codes in my different project and i have a different things in txt file. Such as;
How can i fix this. And how can i make just save as a txt file in forexample templates/text_files?
Not sure what you did, so I couldn't guess... I'd suggest rewatching the video and trying again
Interresting
Thanks
how to create, Edit and then download CSV file on fly
I have a whole course on python and excel if you're interested in those things
@@Codemycom I want to convert from a CSV file to an AutoCAD file and I succeeded in that, but after the conversion, I cannot access the converted file because I do not want to save it on the server, but when converting it it generate file to download it on click.
@@AhmedTheCoder Sorry, I don't know AutoCAD or how you did that.
@@Codemycom thanks for replay, my question about after conversion I want to download the file and not save it in server.
i tried it not work on me. the file cannot be download and when i inspect, the href is empty. how to fix it?
check your code and figure out what you did differently from the video.
I tired to do this for an individual file instead of all my files... it didn't work.. Suggestions?
Sorry, not sure what you mean
Thanks :)
Welcome!
Sir please make how to use Ajax in django with server side validation
I don't have any videos on Ajax.
@@Codemycom will you make video on that in upcoming videos ?
@@prasadmande8489 no, sorry. I don’t use Ajax.
Another NICE Vid.... love to see how this could be done with excel (maybe i.c.w. csv)
Yeah I'll probably do a video on that