Answer the question
In order to leave comments, you need to log in
How to add value on first migration?
There is a payment model:
Pay (ID, name).
How to make it so that during migration values \u200b\u200bare added (OMS, DMS, VMP) if they are not in the table?
Answer the question
In order to leave comments, you need to log in
1) Migration date https://docs.djangoproject.com/en/2.0/topics/migra...
2) Fixtures https://docs.djangoproject.com/en/2.0/howto/initia...
Choose what is more convenient :)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question