E
E
Enter_a_nickname2022-03-24 14:15:18
Django
Enter_a_nickname, 2022-03-24 14:15:18

How to assign a new serial identifier to a user when registering (let's say dogs_id)?

Let's say I have a registration page on a site with the following fields:


- username
- password1
-password2 -email
-dogs_id


I need each new user to be assigned dogs_id +1 from the previous registered user upon registration. How can I do that?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dr. Bacon, 2022-03-24
@Enter_a_nickname

100500 times they wrote that it is not necessary to do this, or it should not be an id

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question