Home > other > How to solve the people development inside the django models makemigrations conflict
How to solve the people development inside the django models makemigrations conflict
Time:10-06
For example, A, B local development is connected to the local database Which creates A model A appear 001 _initial. Py, created the model B B also appears 001 _initial. Py When A code on the git, B pull A code, this time, B has carried out A migrate, So 001 _initial. Py merger models will not be created in the database, A this kind of situation should be how to solve?
CodePudding user response:
After initialization migrations directory import SVN/git, ignore this directory
CodePudding user response:
Can increase the json file of import of initial data, by the personnel management