Can't use UUIDField like this yet
See https://code.djangoproject.com/ticket/32577
This commit is contained in:
parent
f2bb4fe35e
commit
2d53f12808
1 changed files with 0 additions and 1 deletions
|
@ -93,7 +93,6 @@ The new change in Django 3.2 is that you can configure which field Django automa
|
|||
```python
|
||||
DEFAULT_AUTO_FIELD = 'django.db.models.AutoField' # 31-bit
|
||||
DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField' # 64-bit
|
||||
DEFAULT_AUTO_FIELD = 'django.db.models.UUIDField' # 128-bit
|
||||
```
|
||||
|
||||
If you run out of 128-bit primary keys, you're either doing something wrong or crazy (or both).
|
||||
|
|
Loading…
Reference in a new issue