From fced551c3aad789e1cde1c236bc81372a72ef536 Mon Sep 17 00:00:00 2001 From: Radoslav Georgiev Date: Wed, 1 Aug 2018 00:02:03 +0300 Subject: [PATCH] Add section about cookiecutter --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index dc73fcc..6be9a27 100644 --- a/README.md +++ b/README.md @@ -47,6 +47,18 @@ Expect often updates as we discuss & decide upon different things. * If the model property spans multiple relations, it should better be a selector. * If a model property, added to some list API, will cause `N + 1` problem that cannot be easily solved with `select_related`, it should better be a selector. +## Cookie Cutter + +We recommend starting every new project with [`cookiecutter-django`](https://github.com/pydanny/cookiecutter-django) + +Once this is done, depending on the context, remove everything that's not needed. + +The usual list is: + +* `allauth` +* templates +* Settings for things that are not yet required (always add settings when necessary) + ## Models Lets take a look at an example model: