FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix pk read only: now primary key can be written as a custom value by artemowkin · Pull Request #163 · encode/orm · GitHub

This repository was archived by the owner on Aug 19, 2025. It is now read-only.
/ orm Public archive

Fix pk read only: now primary key can be written as a custom value - #163

Open
artemowkin wants to merge 1 commit into
encode:masterfrom
artemowkin:master
Open

Fix pk read only: now primary key can be written as a custom value#163
artemowkin wants to merge 1 commit into
encode:masterfrom
artemowkin:master

Conversation

Copy link
Copy Markdown

Now primary key isn't a read only field. And if user tries to create a new model with non-integer (for example, UUID) field without default value, ValueError will be raised.

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL