#4 Model Methods

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 model class. Notice that target method - is a class method (without self argument).

Wow, no similar lessons found! You have just found a very unique lesson!