Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UUID on M2M fields #1400

Open
lokeshwarobuli opened this issue Oct 3, 2024 · 1 comment
Open

UUID on M2M fields #1400

lokeshwarobuli opened this issue Oct 3, 2024 · 1 comment

Comments

@lokeshwarobuli
Copy link

Is there any way to have UUID as primary key M2M fields that tracks the histories, right now I tried setting SIMPLE_HISTORY_HISTORY_ID_USE_UUID to True as well as tried https://django-simple-history.readthedocs.io/en/latest/historical_model.html#custom-history-id, but still the historical intermediate M2M table only has integer as primary key. Can someone provide some direction in case if you have already gone through similar situation

Thanks

@lokeshwarobuli
Copy link
Author

bump

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant