I'm creating a rest api using Django and DRF. I don't want to expose IDs
directly to clients so I'm trying to setup my models like this example:
class AbstractGuidModel(models.Model):
uuid = models.UUIDField(blank=True, default=uuid.uuid4, unique=True,
editable=False)
class Meta:
omplish it
Il giorno mercoledì 19 ottobre 2016 02:14:23 UTC+2, Tim Graham ha scritto:
>
> The SQL looks correct -- it's not using anything Python related. Are you
> encountering some error?
>
> On Tuesday, October 18, 2016 at 9:15:46 AM UTC-4, Andrea Posi wrote:
>>
>>
2 matches
Mail list logo