This hello world project is a project I began in early fall 2022 and kept building on top of for each assignment in my Full-Stack Web Dev class. It is the accumulation of a lot of work spread out over the semester. It was built using Python 3.9.6, 3.10, and now 3.11, and Django 4.0.4.
For the latest assignment, for the CRUD functionality, the way I wanted my forms to work resulted in me basically re-inventing multiple wheels. However, I feel that I have a better understanding of how forms work, and how to use Crispy forms. And, my forms don't look half bad.
I used the background image code, the basic html skeleton, and the CSS from sources below. I have altered and added a lot of my own CSS. The random background pictures are from unsplash.com
I think I should make this a sort of portfolio site in the future...
- W3Schools Templates- Startup
- Random background img from unsplash.com
- Fetch Data From a Database And Output To A Webpage
- Template Tag: getattribute code and usage
- Model update view
- Official Manufacturer/car brand websites
- caranddriver.com
- motortrend.com
January 2024:
- Integrate Docker stuff to 'docker-integration' branch; update readme
August 2023:
- Fix 'all three' carstats page - needs to display all the tables
- Consolidate car-related tables
- Automobile forms: make some of the fields not required.
2022:
-
Module 5.1: update form added. Delete form redone to be like update form. Looks good.
-
Module 5: forms added to create and delete Automobiles. Crispy forms installed. Update not implemented yet.
-
Module 4: added a page for Automobile, ICE Car, and Electric Car models. Changed views to classes that inherit from django's generic ListView. I also made those pages all use the same template/html file and made Django dynamically populate the relevent material (interesting, took me a lot of time to figure out).
-
Module 3: altered readme file and improved some formatting
-
Module 2: added navigation, added new page for tables of car stats for database assignment that uses for loop and django template utility
-
Module 1: removed some body content sections, navigation, and added random background ability. I was using picsum to get random pictures but their service for delivering the image via a link was a lot slower than unsplash's. However, picsum has a much better selection of random pictures.