Django Deployments General Overview

  • #5
  • Dec 29, 2019

In this lesson I show a general overview of django deployments. I show how development environment different in general from production. Two simple production scenarios are presented. This lesson is only introduction …

Model Methods

  • #4
  • Dec 24, 2019

Application logic does not belong to django views, it is a good practice to move it inside other modules. In this lesson you will learn how to offload business logic to a …

Django Logging Requests

  • #3
  • Dec 23, 2019

Django logging behaves differently in development and production environments. This is a common trap for many developers. The confusion comes mostly because 'django.server' logger works only in development (DEBUG=True + runserver command); …

DRY for Simple Views in Django

  • #2
  • Dec 18, 2019

In real world web applications it is necessary to write standard pages like privacy policy, cookies policy, terms. Those pages are implemented as very simple Django views and tend to be very …

Python3 f-Strings - a Better Way to Format Strings

  • #1
  • Dec 16, 2019

Python supports multiple ways to format text strings. These include %-formatting , str.format(). Each of these methods have their advantages, but in addition have disadvantages that make them cumbersome to use in …

Subscribe to the newsletter

Be always informed about latest news, lessons, courses. I will never send more than one email per week.