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

Allow the modification of readonly fields #15

Open
Frankkkkk opened this issue Oct 22, 2020 · 0 comments
Open

Allow the modification of readonly fields #15

Frankkkkk opened this issue Oct 22, 2020 · 0 comments
Labels
good first issue Good for newcomers

Comments

@Frankkkkk
Copy link
Owner

Frankkkkk commented Oct 22, 2020

Read only fields were meant to be read only. However sometimes these fields must be set (in the case of an operator managing these resources for example).

We should add a mean to edit these fields with a context manager for example:

with pykorm.fields.UnlockReadOnly:
  obj.read_only = 42
@Frankkkkk Frankkkkk added the good first issue Good for newcomers label Oct 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant