Intro to Django and Django ORM
What are we trying to accomplish
By learning about Django Models, Model Fields and Methods, Django Model Fixtures, and the Django Admin Site, you are aiming to acquire a comprehensive understanding of how to design, structure, and interact with a relational database in web applications using the Django framework. This encompasses creating and customizing data models, defining various fields and methods to manipulate and retrieve data efficiently, utilizing fixtures for populating the database with sample data, and effectively using the Django Admin Site to manage and manipulate data through a user-friendly interface. This knowledge empowers you to build robust, data-driven web applications with efficient data management, manipulation, and presentation capabilities.
Lectures & Assignments
Lessons
Assignments
TLO's (Testable Learning Objectives)
- Create a new Django Project
- Create a new Django Application
- Link Django Project with Django Application
- Link Django Project with PostgreSQL
- Create Django Models to interact with the Database
- Run Django Server
ELO's(Enabling Learning Objectives)
- Utilize virtual environments in python
- Manage packages with pip
- Utilize Psycopg3 to translate models onto Data Tables
- Utilize the Django Python Console
- Understand models.fields
- Utilize Fixtures to back-up data
- Create a Django Super User
- Interact with Django's admin site