From a6fc51c0b5e57858c93770fb36d5444793b5c8ff Mon Sep 17 00:00:00 2001 From: JMP Date: Tue, 26 Feb 2019 18:10:42 +0100 Subject: [PATCH] Docs updated --- docs/fields.rst | 2 +- docs/models.rst | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/docs/fields.rst b/docs/fields.rst index 1f0d5c5..87c298e 100644 --- a/docs/fields.rst +++ b/docs/fields.rst @@ -159,7 +159,7 @@ be the excerpt. This number can be customized by setting the UUIDField ---------- -A ``UUIDField``subclass that provides an UUID field. You can +A ``UUIDField`` subclass that provides an UUID field. You can add this field to any model definition. With the param ``primary_key`` you can set if this field is the diff --git a/docs/models.rst b/docs/models.rst index 4e04c29..48afa0d 100644 --- a/docs/models.rst +++ b/docs/models.rst @@ -64,7 +64,9 @@ This abstract base class provides ``id`` field on any model that inherits from i which will be the primary key. If you dont want to set ``id`` as primary key or change the field name, you can be override it -with our [UUIDField](https://github.com/jazzband/django-model-utils/blob/master/docs/fields.rst#uuidfield). +with our `UUIDField`_ + +(https://github.com/jazzband/django-model-utils/blob/master/docs/fields.rst#uuidfield). Also you can override the default uuid version. Versions 1,3,4 and 5 are now supported. @@ -76,3 +78,6 @@ Also you can override the default uuid version. Versions 1,3,4 and 5 are now sup class MyAppModel(UUIDModel): pass + + +.. _`UUIDField`: https://github.com/jazzband/django-model-utils/blob/master/docs/fields.rst#uuidfield \ No newline at end of file