49 - My Finances App: Create Views, Urls and HTML - Django | DRF | React w. Data Analysis

preview_player
Показать описание
About this video:
We did some theory and laid ground for our new app - let's build the rest of its components. Today we'll tweak the currently existing Income models and views to reflect having users and add Outcome views, urls and html.

Video Content:
00:00 Intro
00:16 Add user field to Income, Outcome and Balance models
02:24 Add comment field to Outcome and Balance models
03:14 Add get_queryset to IncomeListView to query only user related incomes
04:52 Override form_valid in IncomeCreateView to automatically save user
06:46 Test website to see different users perspective
09:23 Add get_queryset to the rest of views
10:45 Create Outcome views
13:01 Create OutcomeForm

17:17 Rename list, detail and confirm_delete html (with refactoring)
17:52 Change views to reflect new template names

26:54 Test website and snag any errors
29:30 Add headers to different forms
32:07 Summary

About this tutorial:
The primary goal of this tutorial is to take you through the steps of creating a solid Django portfolio project that will stand out when you talk to your future employer.
Check out tutorial's intro to see if it's something for you:

Tutorial repo:

Please hit SUBSCRIBE if you wanna get the notifications about the new content!
Also, like the hell out of this video if you find it useful/interesting!
Рекомендации по теме
visit shbcf.ru