0% found this document useful (0 votes)
9 views

Django_Week1_Detailed_Plan

This document outlines a structured learning plan for the first week of a Django + AI project, focusing on setting up Django and understanding Python basics to build a Personal Blog Website. Each day includes specific tasks, time breakdowns, and goals, covering topics such as Python refresher, Django installation, app creation, URL routing, models, and user input. The week culminates in a review and deployment setup to GitHub and free hosting.

Uploaded by

natiigere
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views

Django_Week1_Detailed_Plan

This document outlines a structured learning plan for the first week of a Django + AI project, focusing on setting up Django and understanding Python basics to build a Personal Blog Website. Each day includes specific tasks, time breakdowns, and goals, covering topics such as Python refresher, Django installation, app creation, URL routing, models, and user input. The week culminates in a review and deployment setup to GitHub and free hosting.

Uploaded by

natiigere
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Week 1: Django & Python Setup – Detailed Learning Plan

This document provides a structured learning plan for Week 1 of the Django + AI project-
based roadmap. The goal is to set up Django, understand Python basics, and build your first
Django project: a Personal Blog Website. You will be working 5 hours per day, except
Sunday, to ensure deep learning and practical application.

📌 Day 1: Python Refresher & Django Installation


**Time Breakdown:**

- 2 hours – Review Python basics (OOP, functions, modules)

- 2 hours – Install Django, set up a virtual environment, and create a Django project

- 1 hour – Explore Django project structure (settings, URL routing, templates)

**Resources:**

- Python Basics: https://realpython.com/python-basics/

- Django Installation: https://docs.djangoproject.com/en/stable/intro/install/

**Tasks:**

- Review Python (Classes, Objects, Functions, Modules, Virtual Environments)

- Install Django using the command:

pip install django

- Start a new Django project:

django-admin startproject myblog

- Run the Django development server:

python manage.py runserver

🎯 **Goal:** By the end of the day, you should be able to set up a Django project and run it on
localhost.

📌 Day 2: Django Apps & URL Routing


**Time Breakdown:**

- 2 hours – Create a Django app, understand Django views, URL routing

- 2 hours – Set up basic templates for the blog homepage


- 1 hour – Learn how to connect templates with views

**Resources:**

- Django Views: https://docs.djangoproject.com/en/stable/topics/http/views/

**Tasks:**

- Create a new app inside your project:

python manage.py startapp blog

- Define a home view and update URLs

- Create a home.html template

🎯 **Goal:** Navigate different pages using Django’s URL dispatcher and create a basic
homepage.

📌 Day 3: Django Models & Database Setup


**Time Breakdown:**

- 2 hours – Learn Django models and ORM

- 2 hours – Create the Post model for blog articles and apply migrations

- 1 hour – Use Django's built-in Admin Panel

**Resources:**

- Django Models: https://docs.djangoproject.com/en/stable/topics/db/models/

🎯 **Goal:** Use models to store data and access the Django admin panel.

📌 Day 4: Displaying Blog Posts in the Frontend


🎯 **Goal:** Fetch blog posts from the database and display them in templates.

📌 Day 5: Blog Post Details & Navigation


🎯 **Goal:** Navigate between blog posts dynamically and improve user experience.

📌 Day 6: User Input – Creating New Blog Posts


🎯 **Goal:** Accept user input and validate form data.

📌 Day 7: Review & Deployment Setup


🎯 **Goal:** Review all concepts, deploy code to GitHub, and set up free hosting.

You might also like