Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2328 Widoki

Hello,

I need to increment by one the active_id for specific object for example if I create a new item its id will be 4 I need this id to take 4+1 and to be saved in the database as 5

How can I do it using the def create function??

Thanks

Awatar
Odrzuć