1👍
As @tom-dalton mentioned the way to go is through dependencies.
You can see an example of a dependency in a migration file here in the docs.
They are written in the following format:
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [("your_app_name", "migration_file_name")]
operations = [
# Migration operations here
]
You can find the migration file name by looking in the migrations folder of your project.
Finally you need to follow the data migration process to access ModelA data in your new migration.
Source:stackexchange.com