
Participate in a boot camp style module for Python Django focused on sports social media development.
Explore building a Django-based social media app from signup to feed, likes, follows, profiles, and post uploads, with a live project demo and source code.
Explain Django, a Python web framework for building web applications, and reveal why a large community and security features attract developers to Python web development.
Create a new Django project from scratch, install Django with pip, name the project folder, set up the directory, and run the local server to view the app.
Learn to configure Django URL routing for a social media project by creating a view, mapping it to paths, and including routes to render HTTP responses or templates.
Learn how to set up a Django template system by importing free templates, configuring settings, creating a templates directory, and rendering HTML with static files for images, JavaScript, and CSS.
Set up Django static files, configure static roots and directories, move assets into the static folder, and reference images, css, and javascript in templates with the static tag.
Create a profile model linked to the user model, add a profile image and bio, configure media handling, and register the model in the admin for a Django social site.
Learn to build a Django user signup flow: render a signup form, handle post submissions, validate password match and unique email/username, display messages, and create a user profile.
Implement user authentication in a Django app by building login and logout views, handling sign in, sign up, and error messages, and enforcing login required for the homepage.
Learn to implement Django account settings with a logged-in user who can upload or update profile image, bio, and location via a multipart form and redirects.
Define a Django post model with a uuid id, user, image, caption, and likes; enable image uploads via a multipart form and migrate to the database.
Customize the post feed to display a list of posts with images and captions, enable user links and likes, allow uploading and deleting posts, and show the latest posts first.
Implement a Django like feature by adding a like boost model, creating a like URL and view, checking existing likes, and updating post likes and UI counts.
Create a profile page in Django by wiring a profile URL, retrieving the user and profile data, and displaying the username, bio, profile image, and posts with links.
In the profile page template, clicking an image should open a modal slideshow, but it navigates to the image due to missing static assets and JavaScript; fix by linking assets.
Implement a Django follow system by modeling followers, enabling follow/unfollow actions via views and forms, updating templates and URLs, displaying follower/following counts on profiles, and preventing self-follow.
Implement a following-based post feed by filtering posts to those from users the logged-in user follows, converting the follower relationships to a display-ready list for the template.
Implement a one-click download feature for post images, enabling users to download the image from a post directly on the page using an HTML download link, without navigation.
Implement a user search in a Django social app by adding a username input and a post to /search, returning matching profiles linked to their pages.
Django-based user suggestion feature that recommends new users you are not following, excludes the current user, and randomizes profiles with their pictures.
this final review recaps following users, personalized feeds, liking posts, searching users, and viewing profiles. it highlights updating profile pictures in account settings and suggests adding features like comments.
About this course
In this course, you'll learn Django from the basics using the project-based approach. You will learn how to build a social media web app where a user can interact with other people.
Why Django?
Django is one of the most popular python frameworks. If you know python, and you are interested in web development, then Django is the best choice for you. Lot's of developers and companies choose to use Django because of it is an high level framework which allows you to build complex applications quickly. There are various companies who use Django as part of their tech stack, some of them are Instagram, Spotify, Mozilla and lots more. Still contemplating on learning Django? Just go for it.
All the concepts in this course are thought in great depth. There is a total of 22 lectures in this course, in which 20 of that is actual teaching. The source code to the full project is also available in the course which you can use easily get the code to everything we are going to build. All lectures are explained thoroughly to make you easily understand how to work with the Django framework, and the aim of this course is for you to be able to build your own projects with the knowledge you've learnt.