How to use ImageField in Django

Опубликовано: 04 Октябрь 2024
на канале: Abdalla Gubara
4,114
71

For python tutoring: http://bit.ly/2LfcdzK
.
In order to make our Instagram cole app compelling and useful the most important feature that we are supposed to have is the ability to get pictures in our app.
.
This tutorial I'm going with the flow to build this Instagram app together with you and going throw the most pitfalls that you are going to face in the future and help you overcome it.
.
The main thing that I got from this video is dealing with the error that says "Image Attribute has no file associated with it" and from the video, the solution was to actually to place an if statement that checks if the file actually exists you can find that at 15:30 in the video.
.
I hope you are enjoying this series please let me know your thoughts in the comments section below.
.
I teach programming in python so if you are interested in that please let me know in the following social media platforms and I will give you free consulting time with me.
.
Instagram :   / jubara_abdallah  
LinkedIn :   / abdalla-ashraf  
Twitter :  / abdallah_jubara  
Github : https://github.com/abdallahash
Portfolio : https://abdallahash.github.io
.
Don't forget to subscribe to the channel for more awesome content around python http://bit.ly/30OgRJZ
.
#djangoproject #pythonproject #django