Django 2 Web Development Cookbook
上QQ阅读APP看书,第一时间看更新

Getting ready

If you haven't yet done so, create a utils package to save your mixins under. Then, create a models.py file in the utils package (alternatively, if you create a reusable app, put the mixins in a base.py file in your app).