Update models.rst

This commit is contained in:
jmmp 2019-02-26 18:12:06 +01:00 committed by GitHub
parent 132d375d99
commit 9b6f14bedd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -66,8 +66,6 @@ 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).
Also you can override the default uuid version. Versions 1,3,4 and 5 are now supported.
.. code-block:: python
@ -80,4 +78,4 @@ Also you can override the default uuid version. Versions 1,3,4 and 5 are now sup
.. _`UUIDField`: https://github.com/jazzband/django-model-utils/blob/master/docs/fields.rst#uuidfield
.. _`UUIDField`: https://github.com/jazzband/django-model-utils/blob/master/docs/fields.rst#uuidfield