Django Models and Relationships
Posted on Jun 22nd, 2021
๐๏ธ Todayโs Topics
Models!
- Fields
- Database tables
- One-to-many (O2M) and Many-to-many (M2M) relationships
- ER Diagrams
๐ฏ Project
Continue working on Freeshelf, through Goal 2 and 3.
Posted on Jun 22nd, 2021
Models!
Continue working on Freeshelf, through Goal 2 and 3.
Posted on Jun 21st, 2021
Youโve now seen how to handle data in a Django application with basic operations in these CRUD categories:
At the heart of many web applications youโll find variations on this theme, so weโll continue to practice it.
Today weโll add in another essential part of web applications: user registration and login.
This is a 3-day assignment that youโll work on all week. It is due on Thursday, June 24.
groups=[
['Shaune', 'Emily', 'Brian', 'Roan'],
['Robert', 'Quinten', 'Greg', 'Dee'],
['Wendy', 'Sara', 'Logan']
]
pip, pyenv, and pipenv betterdjango-registation-redux handles some of this for us (giving us the login and logout urls, for instance) but itโs helpful to see other ways you can use the authenticated user.Posted on Jun 18th, 2021
For this weekend assignment, keep working with your code buddies from this week.
Build a CRUD application from scratch. This app should let you catalog your music collection.
This is due on Monday.
groups = [
('Quinten', 'Wendy', 'Robert'),
('Sara', 'Roan', 'Logan'),
('Dee', 'Shaune', 'Emily'),
('Brian', 'Greg')
]
as_p())Posted on Jun 17th, 2021
Continue with the next sections of Uptact.
as_p())Posted on Jun 16th, 2021
Today weโll continue our intro to Django.
Today weโll expand our perspective on Django and see more of it in action with a larger application. This project is due Friday morning.
This assignment asks you to modify existing code to augment its functionality. Please work on this assignment in small groups:
groups = [
('Quinten', 'Wendy', 'Robert'),
('Sara', 'Roan', 'Logan'),
('Dee', 'Shaune', 'Emily'),
('Brian', 'Greg')
]