Upload multiple images to a post in Django (Simple Solution)

  Рет қаралды 28,012

Developer Timeline

Developer Timeline

Күн бұрын

Пікірлер: 78
@developertimeline
@developertimeline 4 жыл бұрын
Devs! If you want to add multiple images from templates watch my new video: kzbin.info/www/bejne/jImZh3-Emrepn9U
@hackerdaddy2828
@hackerdaddy2828 3 жыл бұрын
sir plz make video on image croping in django admin
@LIMLIMLIM111
@LIMLIMLIM111 3 жыл бұрын
Literally the only video on the entire internet that properly explains how to deal with multiple images. Thank you!
@mihir7332
@mihir7332 4 жыл бұрын
The content was the best. I knew I was Subscribing the moment I was halfway through the video. Well done, can't Thank you enough.
@developertimeline
@developertimeline 4 жыл бұрын
Thank you, your support means a lot to me, really happy to help✌🚀🤺
@kicknotes
@kicknotes Жыл бұрын
Your speed is a definite indicator that you know what you're doing!
@blerdijankoliqi3994
@blerdijankoliqi3994 3 жыл бұрын
Brother you have literally no idea how much you helped me lol. You saved my life with this tutorial 😂
@developertimeline
@developertimeline 3 жыл бұрын
Glad to hear it!
@muhammeduluel2913
@muhammeduluel2913 2 жыл бұрын
thank you so much. I also like the way you shoot videos, so I don't miss anything. I do not have a question mark in my mind, not to mention that you speeded up such a long video. Appreciate you.
@SnowdarthStudios
@SnowdarthStudios 4 жыл бұрын
Honestly, this is hands down the best tutorial to follow in this matter. Thanks a lot dude.
@DaNickKittu
@DaNickKittu 4 жыл бұрын
Thanks a lot! There was really nothing on the internet addressing this problem nicely.
@soumyazyx
@soumyazyx 4 жыл бұрын
Can't thank you enough! The video was right to the point, concise and clear. Loved it! Subscribed.
@acidkhan4910
@acidkhan4910 4 жыл бұрын
Please zoom in the editor in the next videos, so we can see clearly what's happening.
@berkgaffaroglu8614
@berkgaffaroglu8614 4 жыл бұрын
You just deserved a like bro! Great job.
@sarthakkalpande6486
@sarthakkalpande6486 3 жыл бұрын
Very good explaination and editing is also bit satisfying no wastage of time while understanding. Thanks for sharing👍
@developertimeline
@developertimeline 3 жыл бұрын
Glad to hear it :))
@angelosnasser3321
@angelosnasser3321 2 жыл бұрын
thank you my bro your tutorial helped me a lot❤❤
@graceyudha
@graceyudha 4 жыл бұрын
awesome, hope you hit big on youtube!
@nquanta1548
@nquanta1548 3 жыл бұрын
Thanks bro ,really🔥🔥🔥❤️ nice tutorial
@nabilm791
@nabilm791 4 жыл бұрын
i have problem if i create post from frontend the images dont saving
@ByteVillain
@ByteVillain 2 жыл бұрын
Thanks Alot , exactly what I was looking for 🙏✌️✌️
@Магомед-о1ю
@Магомед-о1ю Жыл бұрын
Здравствуйте.Подскажите пожалуйста,как сделать чтобы эти формы добавления картинок начинались не с 3, а с 1.
@SamirJzVFX
@SamirJzVFX 4 жыл бұрын
Whats the name of the background music?
@TheMbahlol
@TheMbahlol 3 жыл бұрын
Thanks for this tutorial, Can we do this without using admin page. I want to use in on custom form?
@martinraddatz6519
@martinraddatz6519 4 жыл бұрын
Awesome, previously was following a tutorial you showed at the bigining without success
@Kskzsksmemzmm
@Kskzsksmemzmm Жыл бұрын
thank you. you helped a lot, I wanted to do exactly that, but half of the information tells how to do it through forms
@StonedAvocado
@StonedAvocado 4 жыл бұрын
I'm using classed based views tbh no idea what i'm doing but this worked for me instead of the function view Reverse python used. I changed post to task. ``` class TaskDetailView(LoginRequiredMixin,DetailView): model = Task def get_context_data(self, **kwargs): context = super(TaskDetailView, self).get_context_data(**kwargs) task = get_object_or_404(Task, id=self.kwargs.get('pk')) context['photos'] = TaskImage.objects.filter(task=task) return context ```
@dvrblacktech
@dvrblacktech 4 жыл бұрын
It's a very nice video.....But one who come here to see this comment, please see his github profile admin.py file....In video it's slightly error is there at (timestamp--3:24)...It results in "attribute error _meta"
@silaVnorme
@silaVnorme Жыл бұрын
Yes, I have the same problem AttributeError: type object 'ImageAdmin' has no attribute '_meta'
@silaVnorme
@silaVnorme Жыл бұрын
I coped with problem by changing to @admin.register(PostImage)
@ygcjayalal
@ygcjayalal 4 жыл бұрын
@admin.register(PostImage) class PostImageAdmin(admin.ModelAdmin): pass this gives me an error. the error says class PostImageAdmin duplicated....
@silaVnorme
@silaVnorme Жыл бұрын
I have another problem AttributeError: type object 'ImageAdmin' has no attribute '_meta'
@akashsen8203
@akashsen8203 3 жыл бұрын
Great video sir! It really helped! Thank you
@nickmal3044
@nickmal3044 4 жыл бұрын
Your tutorial helped me a lot! Thank you!!!
@exactbrain6248
@exactbrain6248 4 жыл бұрын
bro i tried to follow your tutorial using the logic to build a gallery website, it all went well even its rough but i dont know to use the foloop.counter on it , please what method should i use i am trying to make it look like once you click on a picture it shows all the pictures in it without showing the rest, each folder has its own picture in it, pleeeeeeeeeeeeeeeeeeeeeeeeeese
@trian3d
@trian3d 3 жыл бұрын
Wooow Fantastic man! thanks thanks
@ivanmain9659
@ivanmain9659 2 жыл бұрын
cool! I like ur work!
@sadcat520
@sadcat520 3 жыл бұрын
How can I do this without going to another page to see the images?
@suryaraj93
@suryaraj93 3 жыл бұрын
How to implement this in DRF?
@imanirban
@imanirban 3 жыл бұрын
Absolutely Brilliant...!!! Cheers
@Arsaliqbal
@Arsaliqbal 4 жыл бұрын
you saved the day bro. Big thanks for this :-)
@pablobenitonunez4159
@pablobenitonunez4159 4 жыл бұрын
Thanks mate! Just what I needed!
@moila_mosela_wa_pudi
@moila_mosela_wa_pudi 3 жыл бұрын
multidict has no attribute '_meta' anyone know how to solve this issue
@sergiomelgarejo4500
@sergiomelgarejo4500 4 жыл бұрын
You are the goat. Thanks a lot!
@glaceondev4149
@glaceondev4149 4 жыл бұрын
DUDEEEEEEE YOU ARE A LIFE SAVERR...THAK YOUUUU
@tradewithtony
@tradewithtony 4 жыл бұрын
Just exactly what i wanted, Thanks a lot Man.
@AngelHernandez-ex7ji
@AngelHernandez-ex7ji 3 жыл бұрын
is there a way we can use this with forms
@developertimeline
@developertimeline 3 жыл бұрын
check second part: kzbin.info/www/bejne/jImZh3-Emrepn9U
@mikejuaid2222
@mikejuaid2222 3 жыл бұрын
Great video Thanks
@miosz952
@miosz952 4 жыл бұрын
What do to if I want user to be able to create post and upload multiple images?
@developertimeline
@developertimeline 4 жыл бұрын
Check this out: kzbin.info/www/bejne/jImZh3-Emrepn9U
@jigarvishwakarma2357
@jigarvishwakarma2357 4 жыл бұрын
You saved my life
@WoodooChill
@WoodooChill 4 жыл бұрын
tbh, this is kinda useless for me as it only shows how to implement it in Admin panel, not an actual form
@porujon1116
@porujon1116 4 жыл бұрын
It's not useless if youre already contented with using admin panel only
@WoodooChill
@WoodooChill 4 жыл бұрын
@@porujon1116 I disagree... admin panel should not be visible to common users and what use is it, when users are the ones who upload content, not admins
@porujon1116
@porujon1116 4 жыл бұрын
@@WoodooChill Yeah I agree with you. But l forgot to mention, that im on to some rare cases that only admins are the one who can upload files into the website. So yeah im contented with what the admin panel can do
@WoodooChill
@WoodooChill 4 жыл бұрын
@@porujon1116 In such rare cases it is reasonable use-case then
@avishekthapa1774
@avishekthapa1774 4 жыл бұрын
@@WoodooChill by rare cases you mean most of the cases? anyway if you still haven't figured out how to create a view for this, there is a medium blog that shows how to do it. this video also shows a glimpse of the same medium blog
@302blacksheep
@302blacksheep 4 жыл бұрын
Excellent! This example is functional in frontend forms with a bootstrap theme? Example, the number of items or photos for each Post, thanks
@StefanBanu
@StefanBanu 4 жыл бұрын
Hi, can you please make a video on how to upload multiple files (excel) to a directory? thank you for all your effort.
@developertimeline
@developertimeline 4 жыл бұрын
Hey sure I will :)
@mrvaibh0
@mrvaibh0 3 жыл бұрын
masterpiece
@ParhamRahimi-x2f
@ParhamRahimi-x2f Жыл бұрын
very good👍
@adiltugrulhaydar9790
@adiltugrulhaydar9790 4 жыл бұрын
So good, but how can i update this ? :D
@hossamashraf4885
@hossamashraf4885 4 жыл бұрын
solved it the same way myself :D can you make a tutorial in how to override the ImageWidget in django form as the way it looks is very ugly
@technoinfoworldwide2329
@technoinfoworldwide2329 4 жыл бұрын
make a blog site series using django with free online news portal template for frontend
@KrishnaManohar8021
@KrishnaManohar8021 4 жыл бұрын
Can u make tutorial for me.? How to do muilti language website.(international website) ex: user visited from USA domain.com/en or user visited from China domain.com/ch like that...
@kapan2430
@kapan2430 4 жыл бұрын
in Django I use i18n
@KrishnaManohar8021
@KrishnaManohar8021 4 жыл бұрын
@@kapan2430 u have any tutorial?
@KrishnaManohar8021
@KrishnaManohar8021 4 жыл бұрын
@Achal Pathak thanks.
@baked_patata
@baked_patata 4 жыл бұрын
u ruski ? great video!
@498748919
@498748919 4 жыл бұрын
thank you
@ygcjayalal
@ygcjayalal 4 жыл бұрын
great video 😍
@developertimeline
@developertimeline 4 жыл бұрын
Thank you!🚀✌
@daxitpatel
@daxitpatel 4 жыл бұрын
thanks alot
@oggunlukarmy4901
@oggunlukarmy4901 5 ай бұрын
i love you
@sureshbatta7047
@sureshbatta7047 3 жыл бұрын
Pls 🙏 change ur way of code explanation, its hard to understand
@anselsolomon6270
@anselsolomon6270 4 жыл бұрын
Nice tutorial but please next time, slow down and teach what you are showing people....people wants to learn..is not for fun..thank u....
How To Upload Images With Django - Django Blog #26
17:59
Codemy.com
Рет қаралды 79 М.
Upload Multiple Images In Form with Django
4:27
Dennis Ivy
Рет қаралды 58 М.
Арыстанның айқасы, Тәуіржанның шайқасы!
25:51
QosLike / ҚосЛайк / Косылайық
Рет қаралды 700 М.
Mom Hack for Cooking Solo with a Little One! 🍳👶
00:15
5-Minute Crafts HOUSE
Рет қаралды 23 МЛН
Introduction - Django File Upload Tutorial - Part 1
17:12
Vitor Freitas
Рет қаралды 201 М.
How To Upload Multiple Images In a Django Form
12:12
Code With Tomi
Рет қаралды 14 М.
Django: Allowing Users To Select Multiple Choices
7:13
Mostafa Elgayar
Рет қаралды 93 М.
Upload Images To Django - Django Wednesdays #38
14:46
Codemy.com
Рет қаралды 83 М.
Setting Up the Perfect Developer Environment on Linux for 2025
11:58
Multiple Image Upload in Django Rest Framework (DRF) | DRF Tutorial
27:25
Code With Clinton
Рет қаралды 10 М.
Learn the basics of Django's Model Managers and Querysets
19:38
Matt Freire
Рет қаралды 45 М.
How to add tags to your models in Django | Django Packages Series #1
9:16
Developer Timeline
Рет қаралды 10 М.
Django tutorial - How to improve your Django admin
18:20
Matt Freire
Рет қаралды 53 М.
Why OOP is evolving(and why it's a good thing)
7:35
TMF
Рет қаралды 14 М.
Арыстанның айқасы, Тәуіржанның шайқасы!
25:51
QosLike / ҚосЛайк / Косылайық
Рет қаралды 700 М.