Wednesday, July 1, 2020

Primary keys using sequences

Hi, I am using a Postgres database and have been populating the primary key from a sequence. Is there any way to define this behavior through Django's ORM? Thanks.

--
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/51536187-5f73-4ddf-ae60-602673569495o%40googlegroups.com.

No comments:

Post a Comment