Skip to content

Commit

Permalink
Merge pull request #41 from imapanda/patch-1
Browse files Browse the repository at this point in the history
Updated title of page
  • Loading branch information
yashrastogi16 committed Oct 30, 2018
2 parents 350f2b8 + 3bee289 commit 6bbafa6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/uuid.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
How to use a UUID instead of ID as prmary key?
How to use a UUID instead of ID as primary key?
++++++++++++++++++++++++++++++++++++++++++++++++++

Whenever we create any new model, there is an ID field attached to it. The ID field's data type will be Integer by default.
Expand All @@ -17,4 +17,4 @@ Example ::

>>> eventobject = Event.objects.all()
>>> eventobject.first().id
'3cd2b4b0c36f43488a93b3bb72029f46'
'3cd2b4b0c36f43488a93b3bb72029f46'

0 comments on commit 6bbafa6

Please sign in to comment.