Following a Django Tutorial to Build a CRM App Tutorial
-
conda deactivate base
-
3:43 pip install django
-
python.exe -m pip install --upgrade pip
-
3:50 pip install mysql
-
3:54 Download mysql
-
- dev.mysql.com/downloads/installer/
- MySQL Installer 8.0.34
-
4:48 Community installer
-
4:53 click download
-
5:30 Turn on MySQL Server
-
13:38 setup git
-
21:29 First webpage working
-
21:49 Bootstrap
-
21:54 getbootstrap.com
-
21:59 Docs
-
28:48 Django login users
-
30:47 how request works
-
31:11 url
-
36:14 Cut log me out tick box
-
37:41 Login button clicking should do nothing (Fixed earlier error, see README/Bugs/Issue:Login...)
-
47:16 There was an error login Bootstrap message with x working
-
50:37 Login and Logout working
-
51:46 Register Users
-
54:42 Register Page exists
-
1:04:28 Registration updated, tutorial commit
GitHub for Tutorial:
-
1:13:53 Add registration detail - Done
-
1:14:43 end setting up site | start crm
-
1:15:03 Django DataBase Model
-
1:15:30 Python/Django creates a class that abstracts away and creates code for us on the backend.
-
1:15:48 define class
-
1:19:18 In models.py Add class Record and Define subelements
-
1:23:11 Record model migration applied
-
1:24:21 Records model added to admin.py
-
1:25:50 Start of 'Django View Records on Website' timestamp on tutorial
-
1:31:02 Return record at front end | View but still not formatted correctly
-
1:35:26 Table added to site
-
1:35:26 Prepare for adding extra formatting from Bootstrap Table Docs
-
1:36:41 Border added to table
-
1:36:57 table-sm | table small class
-
1:37:14 Cut table-sm | table small class
-
1:37:34 Add table-dark class (to
<thead>
element) | Purpose: To make table header row dark -
1:45:38 TODO Add content to record/int:pk
-
1:48:43 Added content to records page | TODO: Add Bootstrap Card (formatting)
-
1:56:52 Added Bootstrap Card and Buttons (unconnected) to records page | TODO: Delete Record
-
2:01:07 Wired up Delete Record Button on record page | TODO: Add "Add Records" Functionality
-
2:12:12 Added 'Add Record' Form to 'Add Record' Page | TODO: Update Records
-
2:20:08 Add Update Record Page (with Back Button) | Push Code to GitHub
Bug Number: 1
Issue: Login button goes to a 403 page with CSRF missing
Cause: form element missing closing triangular bracket in templates/home.html
Fix: add closing triangular bracket to form element
______________________________________________________________________________________________;
Bug Number: 2
Context:
File: forms.py
Line Number: 40
Line Content: first_name = Forms.CharField(required=True, widget=forms.widgets.TextInput(attrs={"placeholder":"First Name", "class":"form-control"}), label="")
Issue: First letter capitalization of Forms
Fix: Change Forms to forms
- Tutorial
- GitHub Repository for Tutorial
- ChatGPT3.5
- [VisualStudioCode]
- [Sublime]
- [Live Server | Go Live]
- [Copilot]
- [Tabnine AI Autocomplete for Javascript, Python, Typescript, PHP, Go, Java, Ruby & more]
- [GitLens]
- [IntelliCode]
- [IntelliCode API Usage Examples]
- [Pylance]
- [Python]
- [Python Environment Manager]
- [Python Extension Pack]
- [WSL]
- [Path Intellisense]
- [Live Preview]
- [isort]
- [Django]
- [Bootstrap]
- [MySQL]
- [mysql-connector]
- [mysql-connector-python]
- [mysqlclient]