-
Notifications
You must be signed in to change notification settings - Fork 49
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
Allow non-integer primary keys #46
Comments
Also - I would be happy to provide PRs for the issues that I have raised. Please let me know if you will accept suitable PRs for any of them. Thanks! |
I worked through this. The required changes would be:
The generally useful changes would be:
The documentation changes would be:
So far those seem to be the only required changes. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The basket serializer expects an Integer primary key for
product_id
.From an initial search it looks like this is the only spot requiring Integer primary keys. UUID primary keys are common and for consistency it is nice to use them here.
Please consider adding support for UUID (or more generically, non-integer) primary keys.
Thanks!
The text was updated successfully, but these errors were encountered: