Adding tailwindcss to Django

In this post I will describe how to add the tailwindcss framework to a Django project. The example which follows was developed on Windows 10 with VS Code, Django 3.2.9, tailwindcss 3.0.8 Start Here If you don’t have a Django project to hand, you can clone the example I will be using throughout the rest of […]

Django Logging with VS Code

Rather than rehash the excellent official documentation on Django Logging I will demonstrate how you can add logging to an existing Django project. Add the following to the This is an example based on one used in the documentation and I have found it easier to understand by starting at the bottom. root […]

Django: object has no attribute ‘save’

When using model forms you can save values entered into a form by calling the form’s save() method as shown below. If you are not using model forms an attempt to call results in an error such as: The save() method works with model forms because there is a model associated with it so […]

Django: Using an Oracle database

This post will show you how to configure a Django application to use an Oracle database. Demo overview The goal of the Django project is to store episode information for the crime fiction television series Columbo. What you will need To build this demo I used the following: VS Code 1.5.6 Django 3.2.3 Python 3.9.1 Oracle Database […]