tag: djlint

Adding pre-commit hooks to a Django project
Maria D. Campbell
Learn how to add and configure the pre-commit framework in a Django project, including Black, isort, Flake8, and djLint, to automate code quality on every commit.
#fullstack development, #macOS, #django, #python3, #code formatting, #djlint, #flake8, #isort, #linting, #pre-commit hook

Creating the official Django Polls app Part 4
Maria D. Campbell
In this section, we add a minimal form to our polls.detail.html template, update the function based vote view, create a polls/results.html template, refactor our polls/urls.py to match the new generic views, and install DJLint to format our Django templates.
#fullstack development, #macOS, #djlint, #forms, #function based views, #generic class based views, #series, #tutorial