What's the problem?
On 16 February 2018 at 15:00, Dragan Mestrovik wrote:
> Hi,
>
> I am getting issue with setting default foreign key value of type UUID. My
> models are
>
> import uuid
> from django.db import models
>
> # Create your models here.
> c
Hi,
I am getting issue with setting default foreign key value of type UUID. My
models are
import uuid
from django.db import models
# Create your models here.
class Provider(models.Model):
id = models.UUIDField(primary_key = True, default = uuid.uuid4, editable
= False)
providerName
2 matches
Mail list logo