- Lab: Class 26 - Intro to Django (using Tailwind CSS + Flowbite)
- Author: Manuch Sadri
- Create web site in Django with 2 pages
- home page
- about page
- create views/urls/templates as needed for home and about pages
- use ancestor template to contain navigation elements
- Should be built the “Django way” aka match the structure of in-class demo
- Configure your project to use TailwindCSS/Flowbite
- Just basic styling is sufficient
- Use Django’s built in testing tools
- Test that home and about url status codes
- Test home and about url template use, including ancestor template.
- create a Github repo named
django-snacks
- create django project named
snacks_project
(using Django) - create django app named
snacks
(Using Django)
- create additional apps in project
- pass additional info along to views and render it
- extend additional blocks in templates
- add dark mode to you site
- add Flowbite components