[
{
"model": "django.contrib.Site",
"pk": 1,
"fields": {
"domain_name": "en.localhost",
"display_name": "EN site"
}
}]
I've made an app and put the fixture above in a directory name 'fixtures'. When I run python manage.py loaddata migrate/fixtures/sites_config.json
, I get the error:
Problem installing fixture 'migrate/fixtures/sites_config.json': Invalid model identifier: 'django.contrib.Site'
It's sites.Site,
For the migration I went the way of fixtures and can't see any problems...