Wednesday, June 24, 2020

Re: Custom Primary Key

On 24 Jun 2020, at 06:24, Soumen Khatua wrote:

> Yes, at the time of add a new record in model, automatically I want
> to create a custom ID and insert it into model

There is a post about this at Stack Overflow:

https://stackoverflow.com/questions/52070462/django-generate-custom-id


-- Clive

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/7722F772-8C9D-4E4C-8B86-45AEF488036A%40indx.co.uk.

No comments:

Post a Comment