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

Create a function like get_key_fields_for_object_type, but for required fields #5

Open
blthayer opened this issue Nov 21, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@blthayer
Copy link
Collaborator

To create new objects in a model you need both the key fields and the required fields.

This should be as simple as making a helper function which is nearly identical to get_key_fields_for_object_type, but takes regular expressions as input. Then, get_key_fields_for_object_type would call this helper function, and a new function, get_required_fields_for_object_type would also call it.

@blthayer blthayer added the enhancement New feature or request label Nov 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant