DHow to exit a python virtual environment?It is good practice to install python libraries into what is known as a virtual environment. An example would be a django project, and…Apr 28, 2024Apr 28, 2024
DCreate a Model in DjangoA model in Django can be thought of as a table consisting of various types of values, names, numbers, true-false flags. These values help…Nov 23, 2021Nov 23, 2021
InTowards DevbyDStore variables in a .env file (Django)There are times in Django where you have to provide sensitive information in the backend. This is as simple as the Django Secret Key or to…Feb 19, 2022Feb 19, 2022
DDjango custom template filtersRecently, when trying to display the duration information onto a page in Django, I encountered a problem. The information was splashed onto…May 13, 2022May 13, 2022
DSubmitting a POST request in Django using a custom formIn Django, there are 2 common ways to send ‘information’ to a page. The first involves using a GET request, and the second involves using a…Sep 19, 2022Sep 19, 2022
DAdding SASS to DjangoWell well well, plain old CSS. Whilst the excellence of plain old CSS can be extolled endlessly. With every age old technological, the…Feb 13, 2023Feb 13, 2023