-
Notifications
You must be signed in to change notification settings - Fork 130
Description
Thank you for creating this library so we can support MS SQL using Django.
I am trying to seed my Django app using natural keys instead of hard-coding IDs/PKs like this: https://docs.djangoproject.com/en/3.2/topics/serialization/#natural-keys
But I don't think this library (e.g. mssql-django) recognizes natural keys.
I've tried the same code/YAML that is working with a Django app using PostgreSQL on a Django using MS SQL. But I have been unsuccessful getting the natural keys working on the MS SQL Django app.
Also, when I issue
/manage.py dumpdata --natural-foreign --format yaml
The output YAML file still has normal IDs.
Are natural keys supposed to be working and I did something wrong?
Or are natural keys not implemented and it might or might not be on the roadmap?
Thank you for your time 🙏🏻