Task #7776
Document to not use setting in the model fields
Status:
NEW
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Documentation
Sprint:
Quarter:
Description
Problem¶
Settings should not be used in the models fields
- https://github.com/pulp/pulp_container/pull/170/files#diff-1707426fbe1933a12da3490e42f0dbceea79e47f7c883708c0b0cb49755b1d94L383
- https://github.com/pulp/pulpcore/blob/master/pulpcore/app/models/upload.py#L23
Proposal¶
Add to the plugin writers docs to not use settings in the models fields but rather 'hardcode' those values, since settings can change which will lead to a data migration
Please register to edit this issue