▶️ 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 John. thank you for these awesome resources. I have a imagefield in my model. When I download it as a CSV file, only the path is shown in the spreadsheet cell. How can I download and show the image itself in the spreadsheet?
Thank you as aways! I was wondering could you make a tutorial to explain how to make something like a survey questionnaire about the venue/events? It would also be nice to know how to link the answers to the user who booked the venue/events. Thank you again!
Hello. I am from Uzbekistan, I am your fan. I saw your videos. Only in the excel table all my data is coming out in one column. I wrote the code as you wrote. Please tell me my mistake. Thanks beforehand.
Owo amazing tutorial. From past few days I am struggling how to merge multiple models in a django forms for update and create in class based views. It will be very helpful if you can make an video on this topics.
Thank you! I want to download docx file of exact venue , but in the docx file it looks very bad like in one row how to do this properly. def venue_text(request,venue_id): response = HttpResponse(content_type='text/plain') response['Content-Disposition'] = 'attachment; filename = venue.docx' venues = Venue.objects.get(pk=venue_id) venues1 = [venues.name, venues.address, venues.zip_code, venues.phone, venues.web, venues.email_adress] lines = ["Name ", "Address ", "Zip Code ", "Phone ", "Url ", "Email "] for venues2 in venues1: lines.append(venues2) response.writelines(lines) return response
Good day Sir, I'm from philippines 🇵🇭 I learned a lot from your video tutorials and because of that I start to build my own portfolio project with django. I know this question is not related with your video content but I want to ask if I could possibly edit my deployed apps like add or change something. Your answer will be appreciated. Thank you 🙂
So, I have a question. My code says: response['Content-Disposition'] = 'attachment; name = venues.csv' When I say to save the file in the dialog box, it saves it without the csv extension. So Excel, for example, does not know it is a csv file. Is there an easy way to save the file with the csv extension? I'm running this on a Mac. Thanks!
thank you sir. i have a question. how can i get queryset which is filtered(using user's search conditions) ? i have searched many tutorials but almost tutorials use "XXX.objects.all()". can you teach me how export filtered quryset?
▶️ 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
Greetings from Honduras, Jhon, you rock!
Thanks!
Hello John
I hope you are doing well
Thanks for these informatic videos
Just what I was loking for.👌👌👌👌
Glad you found it!
Hi John. thank you for these awesome resources. I have a imagefield in my model. When I download it as a CSV file, only the path is shown in the spreadsheet cell. How can I download and show the image itself in the spreadsheet?
Well done John!
Thanks!
Thank you as aways! I was wondering could you make a tutorial to explain how to make something like a survey questionnaire about the venue/events? It would also be nice to know how to link the answers to the user who booked the venue/events. Thank you again!
yes its very usefull bro, tks
Welcome
Hello. I am from Uzbekistan, I am your fan. I saw your videos. Only in the excel table all my data is coming out in one column. I wrote the code as you wrote. Please tell me my mistake. Thanks beforehand.
is it possible to restrict the download of cvs file only to the admin and staff? Thank you, your works is terrific!
Of course, you can lock down anything using authentication
so amazing
Thanks!
Owo amazing tutorial. From past few days I am struggling how to merge multiple models in a django forms for update and create in class based views. It will be very helpful if you can make an video on this topics.
sorry, not doing class based views in this playlist...but I have another playlist that covers class based views
@@Codemycom can you give me your classbased django playlist link...I visited your channel but didn't found
@@FarhanAhmed1360 ua-cam.com/video/B40bteAMM_M/v-deo.html
Thanks for the video! Are there any plans on doing a video on how to import data from a .csv file into the database?
No...I have an entire course on python and excel at codemy.com
Thank you! I want to download docx file of exact venue , but in the docx file it looks very bad like in one row how to do this properly.
def venue_text(request,venue_id):
response = HttpResponse(content_type='text/plain')
response['Content-Disposition'] = 'attachment; filename = venue.docx'
venues = Venue.objects.get(pk=venue_id)
venues1 = [venues.name, venues.address, venues.zip_code, venues.phone, venues.web, venues.email_adress]
lines = ["Name
",
"Address
",
"Zip Code
",
"Phone
",
"Url
",
"Email
"]
for venues2 in venues1:
lines.append(venues2)
response.writelines(lines)
return response
Good day Sir, I'm from philippines 🇵🇭 I learned a lot from your video tutorials and because of that I start to build my own portfolio project with django. I know this question is not related with your video content but I want to ask if I could possibly edit my deployed apps like add or change something. Your answer will be appreciated. Thank you 🙂
Sure, you just edit them locally on your computer and push them to webhosting again.
@@Codemycom Thank you Sir 🙂 God bless you always 😇 Stay safe and more power to your youtube channel 💪
@@ronuelmoralita493 Thanks!
Thank you Thank you Thank you Thank you
Welcome Welcome Welcome Welcome :-)
Can we also export it as an Excel?
🔥🔥🔥 nice sir
thank you!
Thanks for the great video, can you show us how to generate csv of the search result?
It's the same as this video.
We have very few options (mostly premium) to implement spreadsheet functionality for django. I wonder why no body is working on that.
but how can you do it really dinamically, i mean linked to context i have actually on a webpage and not with a static query?
When exporting datetime fields I get UTC time. How do I get to use the same timezone as the django website (CET)?
Great Sir! Can you make the same for Event or Venue but a pdf
I'll talk about pdf's in the next video
Hello sir which python libraries are best for android applications
I couldn't really say, but kivy is popular
I have problem exporting special characters. its not showing same value.
🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀
Thanks!
So, I have a question. My code says: response['Content-Disposition'] = 'attachment; name = venues.csv' When I say to save the file in the dialog box, it saves it without the csv extension. So Excel, for example, does not know it is a csv file. Is there an easy way to save the file with the csv extension? I'm running this on a Mac. Thanks!
I'm not really sure why it would do that... can you just type in the name with .csv when you save it?
thank you sir. i have a question. how can i get queryset which is filtered(using user's search conditions) ? i have searched many tutorials but almost tutorials use "XXX.objects.all()". can you teach me how export filtered quryset?
I have videos on that in the playlist
@@Codemycom you mean Django Wednesdays playlist? i cant find that.OMG can you tell me which chapter is it?
I am writing same code but data is transferred to a single column in excel. what is the problem ?
I couldn't guess, having not seen your code. What did you do differently from the video?
@@Codemycom I have that same problem. I wrote the exact same codes as in the video.
@@goncagulgungor7695 100% of the time, when people tell me they wrote the same code....they didn't.
hi🙂😊.....is it working if we use Microsoft office 2016
I don't see why not
In my excel file only one entry is showing not all
What did you do differently from the video?
Nothing
@@jaismeenyadav8841 That's not true. If it was, it would work.