From 645c7214b8624b65f7c9bc297dd357bd63951b61 Mon Sep 17 00:00:00 2001 From: Radoslav Georgiev Date: Sun, 22 Oct 2023 17:34:49 +0300 Subject: [PATCH] Remove the explicit mention of defining a PK using UUID - https://github.com/HackSoftware/Django-Styleguide/issues/136 --- README.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/README.md b/README.md index f5f9965..8590cb8 100644 --- a/README.md +++ b/README.md @@ -221,8 +221,6 @@ It's a good idea to define a `BaseModel`, that you can inherit. Usually, fields like `created_at` and `updated_at` are perfect candidates to go into a `BaseModel`. -Defining a primary key can also go there. Potential candidate for that is the [`UUIDField`](https://docs.djangoproject.com/en/dev/ref/models/fields/#uuidfield) - Here's an example `BaseModel`: ```python