▶️ Watch Entire Django Wednesdays Playlist ✅ Subscribe To My KZbin 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
@edcm23493 жыл бұрын
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 .
@yahyaa44993 жыл бұрын
You are a genius! Just Amazing👍👍
@Codemycom3 жыл бұрын
Ha, glad you liked it
@svysvr4268 Жыл бұрын
Thanks for the lesson. my project involves creating documents to be downloaded. perfect lesson at the perfect time. :)
@Codemycom Жыл бұрын
awesome
@mohdrummanshuja749 Жыл бұрын
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!
@Codemycom Жыл бұрын
What did you do differently from the video?
@Raja-ie7nq3 жыл бұрын
Nice work.....will you post a video for viewing events in calendar with some calendar style stuff...and also notice board like upcoming events
@Codemycom3 жыл бұрын
Probably will
@santhoshsan6453 Жыл бұрын
Thanks for this .. this helped me to create vcf files with customer details on the fly... Thanks a tonnnn
@Codemycom Жыл бұрын
Glad to hear it!
@bearz_ftw1263 ай бұрын
Hello! Do you know how to generate a txt file but have it attached to the model as a field?
@Codemycom3 ай бұрын
I don't have any videos on that
@tifanysusanto95312 жыл бұрын
i tried it not work on me. the file cannot be download and when i inspect, the href is empty. how to fix it?
@Codemycom2 жыл бұрын
check your code and figure out what you did differently from the video.
@963seeker Жыл бұрын
Love the simplicity, something very hard in technical fields
@Codemycom Жыл бұрын
Thanks!
@fahrenheit1863 Жыл бұрын
I want to clarify one point. To display the text correctly in Notepad (Windows), you need to set ` `.
@AhmedTheCoder3 жыл бұрын
how to create, Edit and then download CSV file on fly
@Codemycom3 жыл бұрын
I have a whole course on python and excel if you're interested in those things
@AhmedTheCoder3 жыл бұрын
@@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.
@Codemycom3 жыл бұрын
@@AhmedTheCoder Sorry, I don't know AutoCAD or how you did that.
@AhmedTheCoder3 жыл бұрын
@@Codemycom thanks for replay, my question about after conversion I want to download the file and not save it in server.
@umeshpurohit52523 жыл бұрын
Great Sir! A new concept. Thanks!
@Codemycom3 жыл бұрын
Enjoy!
@renanrivera9805 Жыл бұрын
Great tutorial! Thanks mate
@Codemycom Жыл бұрын
Welcome!
@kyawmying2249 ай бұрын
John Elder is awesome.
@Codemycom9 ай бұрын
Ha thanks!
@KuriakoseKuruvilaAnathanam Жыл бұрын
You earned a new subscriber.
@Codemycom Жыл бұрын
Appreciate it!
@prasadmande84893 жыл бұрын
Sir I used Ajax in django form.is_valid() method returns false without Ajax it validate the form
@Codemycom3 жыл бұрын
I don't have any videos on Ajax.
@sophyia43583 жыл бұрын
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.
@Codemycom3 жыл бұрын
Huh? Your users info is already saved on the database, you don't need to add it to a text file to save it...
@linatroshka Жыл бұрын
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.
@Codemycom Жыл бұрын
awesome
@xanderkaufman51623 жыл бұрын
I tired to do this for an individual file instead of all my files... it didn't work.. Suggestions?
@Codemycom3 жыл бұрын
Sorry, not sure what you mean
@promiseogunka80202 жыл бұрын
could you make a video for generating .doc or .docx files as well or can this method work as well
@Codemycom2 жыл бұрын
No sorry
@terrywright65712 жыл бұрын
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)
@Codemycom2 жыл бұрын
That's a setting in your web browser. You can change that in your browser settings
@terrywright65712 жыл бұрын
@@Codemycom Thanks
@williamtouzalin1180 Жыл бұрын
Interresting
@Codemycom Жыл бұрын
Thanks
@angelosnasser33212 жыл бұрын
Thx 😊
@Codemycom2 жыл бұрын
Welcome!
@shubhammittal78512 жыл бұрын
sir how to turn text into webpage?
@daria1781 Жыл бұрын
Thank you for the clear and easy instructions!
@Codemycom Жыл бұрын
Welcome!
@prusa162 жыл бұрын
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?
@Codemycom2 жыл бұрын
Not sure what you did, so I couldn't guess... I'd suggest rewatching the video and trying again
@labialkosta2613 жыл бұрын
Great Great Great work!!!
@Codemycom3 жыл бұрын
Thanks a lot!
@vittorioiacovella7212 жыл бұрын
Thanks for this! That was exactly what i needed.
@Codemycom2 жыл бұрын
Happy to hear it
@prasadmande84893 жыл бұрын
Sir please make how to use Ajax in django with server side validation
@Codemycom3 жыл бұрын
I don't have any videos on Ajax.
@prasadmande84893 жыл бұрын
@@Codemycom will you make video on that in upcoming videos ?
@Codemycom3 жыл бұрын
@@prasadmande8489 no, sorry. I don’t use Ajax.
@zorik64702 жыл бұрын
Thank you! You helped me a lot!
@Codemycom2 жыл бұрын
Happy to hear it!
@rahulteja22912 жыл бұрын
Well explained. Thanks a ton. 👍
@Codemycom2 жыл бұрын
Most welcome!
@teekumar50562 жыл бұрын
Thanks :)
@Codemycom2 жыл бұрын
Welcome!
@eduardjogi3 жыл бұрын
Another NICE Vid.... love to see how this could be done with excel (maybe i.c.w. csv)