A Django web app that pulls movie data from TMDb (The Movie Database) and shows popular titles, movie details, and recommendations.
This project follows the build described in the accompanying write-up: “Day 5: Building a Movie Recommendation System with Django and TMDb API”.
- Popular movies landing page (grid/list of trending/popular titles)
- Movie detail page with overview + poster
- Recommendations section (similar / recommended movies from TMDb)
- Poster images rendered using TMDb image base URL
- Python
- Django
- TMDb API (movie metadata + recommendations)
Typical layout for this repo:
MovieRecommendation/– Django project root (containsmanage.py)movies/– Django app for pages, templates, and TMDb integrationmovies/utils.py– helper to call TMDb endpoints and attach poster URLs
git clone https://github.com/Mathurdanduprolu/Day5MovieRecommender.git
cd Day5MovieRecommenderpython -m venv .venv
source .venv/bin/activate # macOS/Linux
# .venv\Scripts\activate # Windows (PowerShell)If the repo contains a requirements.txt, install from it:
pip install -r requirements.txtIf you don't have requirements.txt, the minimum packages for the tutorial build are:
pip install django requestsCreate a TMDb key from your TMDb account settings.
Then set it in Django settings (quick tutorial-style approach):
MovieRecommendation/settings.py
TMDB_API_KEY = "your_tmdb_api_key_here"Tip: In a real deployment, prefer environment variables instead of hardcoding secrets.
From the folder that contains manage.py:
python manage.py runserverOpen:
- http://127.0.0.1:8000/ – Popular movies
- Click a movie → details page with recommendations
Recommendations are fetched directly from the TMDb endpoint:
movie/{movie_id}/recommendations
So the “recommender” here is TMDb’s recommendation service, surfaced via Django pages.
If you have a screen recording or screenshots, add them here (GitHub renders images nicely):

- Search movies
- Pagination
- User accounts + watchlist
- Genre filters
- Movie data powered by TMDb.
- Tutorial reference: Day 5 write-up on building the project with Django + TMDb API.
