Lesson 2 - DRY for simple views in Django

Опубликовано: 18 Декабрь 2019
на канале: Django Lessons
955
20

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 repetitive. In this lesson I will show how to avoid code duplication in this cases.


Demo Project:
https://github.com/ciur/lesson-2-DRY-...
Class Based Views documentation:
https://docs.djangoproject.com/en/3.0...