Posted on Jun 30th, 2021
🗓️ Today’s Topics
- Finishing up with code snippets and flashcards
- Talk briefly about technical presentations
- Q&A about Phase 3
🎯 Django Duplex Project due Thursday @ 2:00pm
Thursday morning we will not have class. You should use that time to finish work on your project. Instructors will be available during regular class hours to help out.
🤩 End-of-Phase Interview
For this phase we will ask you to meet with an instructor one-on-one to talk about your code instead of presenting to an audience. We’ll ask you a few questions about Python, Django and the project you have been working on.
Technical Questions
These are literally the questions we’re going to ask you:
- Walk us through what happens in Django when someone types a url like
www.djangoapp.com/card/2/edit
into a browser’s address bar.
- Open the django shell and select an object from your database, then get its related objects (we’ll ask you different specifics here depending on what your models are).
- Show me a template that uses conditional rendering and explain how that works.
Interviews take place on Thursday during our normal class time, 2:00-3:30. Please come to the classroom and we’ll use breakout rooms for our separate meetings.
Honey Badgers and Pine Martens meet with Amy
- 2:00 Sara
- 2:15 Dee
- 2:30 Quinten
- 2:45 Robert
- 3:00 Greg
- 3:15 Emily
Wolverines and Sea Otters meet with Jeanette
- 2:00 Brian
- 2:15 Wendy
- 2:30 Shaune
- 2:45 Roan
- 3:00 Logan
🔖 Resources
Queries
Posted on Jun 29th, 2021
🗓️ Today’s topics
- Check in with progress on code snippets and flashcards
- Why and how to incorporate JavaScript into your Django application
🎯 Django Duplex Project
Habit Tracker or Code Snippets…continued.
Resources
- jQuery -> This is not something I recommend using right now, but I include it here because a lot of the resources you will encounter about using JavaScript in a web browser will refer to it (like the article on unintrusive js listed immediately above). It is not as popular as it once was, and it is incompatible with a framework like React. But you will sometimes come across it, and you may end up working with it at your job, so you might as well recognize it when you see it and look it up if you ever need it.
🦉 Code
Posted on Jun 28th, 2021
🗓️ Today’s Topics
- Progress report on Code Snippets and Flashcards
- Git collaboration review & questions
- Django review & questions
- Implementing search
- Foreign key recursive relationships
🎯 Project: Django Duplex
Keep on with Django Duplex. Today you should have models that you can use in the shell and in your application. Your team should also have a list of tasks you need to do, and a plan for when you will do them.
🔖 Resources
Posted on Jun 24th, 2021
Today we’ll begin our first real team project, with a shared repo. This will require more planning, a lot of communication and coordination, and adding on some new git skills that will let us collaborate.
🎯 Project: Django Duplex
You will work in a shared repo for the first time and turn in one application that your team will build together. How you share the work is up to you to determine.
You have two options to choose from for this assignment. Your team should meet to discuss and decide today which one you will do. Then, the very first thing you should do is decide what models you will need and what attributes and relationships they should have.
This assignment is due next Thursday at the end of the Phase.
Link to assignment
🦘 Teams
For this project, the first team member listed should accept the assignment, then the other team members can accept the assignment and select the repo for their team.
teams = {
'team_sea_otter': ['Brian', 'Wendy', 'Shaune'],
'team_honey_badger': ['Sara', 'Quinten', 'Dee'],
'team_pine_marten': ['Greg', 'Emily', 'Robert'],
'team_wolverine': ['Roan', 'Logan']
}
🔖 Resources
Posted on Jun 23rd, 2021
🗓️ Today’s Topics
- Many-to-many model relationships & queries
- Slugs
✅ Questions to Check Your Understanding
- If you want to show one particular book in the browser, how would that work in the urls and the views?
- How do forms work in Django? You should be able to talk about form objects and how forms are handled in the views.
- Can you create new objects, find objects, and find related objects in the Django shell?
- How does Django know if a user is logged in?
- How can you implement books with multiple categories?
🎯 Project: FreeShelf Wrap Up
Your FreeShelf project is due on Thursday morning.
Resources
🦉 Code & Notes