mirror of
https://github.com/HackSoftware/Django-Styleguide.git
synced 2024-11-25 19:13:45 +03:00
Fix URL to UUIDField in README
This commit is contained in:
parent
bac4059efd
commit
8230b013b6
|
@ -211,7 +211,7 @@ 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`.
|
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/#uuidf)
|
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`:
|
Here's an example `BaseModel`:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user