Work Blog
Notebook
Travel
Recipes
Misc
Code
Websites
Bookmarks
Welcome
Notebook
Django Pages
Django Templates and CSS styling
Django Templates and CSS styling
By Dan Aukes
Django
Css
Templating
External Resources
pagination
https://docs.djangoproject.com/en/6.0/topics/pagination/
django templates
recursive includes:
https://stackoverflow.com/questions/32044/how-can-i-render-a-tree-structure-recursive-using-a-django-template
length of a variable:
https://stackoverflow.com/questions/13138859/django-access-the-length-of-a-list-within-a-template#13138883
multiple with includes:
https://stackoverflow.com/questions/43922714/can-you-declare-multiple-with-variables-in-a-django-template
formatting dates:
https://docs.djangoproject.com/en/6.0/ref/templates/builtins/#date
https://www.geeksforgeeks.org/python/change-the-default-date-format-in-django-template/
using strftime:
https://dnmtechs.com/formatting-datetime-in-django-template-using-python-3/
bootstrap css
nav-bars:
https://getbootstrap.com/docs/5.3/components/navbar/
https://getbootstrap.com/docs/5.3/components/navs-tabs/
sticky footer:
https://getbootstrap.com/docs/5.0/examples/sticky-footer-navbar/
dropdown buttons:
https://getbootstrap.com/docs/5.3/components/dropdowns/#overview
typography:
https://getbootstrap.com/docs/5.3/content/typography/
cards:
https://getbootstrap.com/docs/5.3/components/card/#about
spacing:
https://getbootstrap.com/docs/5.3/utilities/spacing/