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

Cleans up input parameter save and display logic for dynamic app #912

Merged
merged 3 commits into from Jun 27, 2018

Conversation

hdoupe
Copy link
Collaborator

@hdoupe hdoupe commented Jun 22, 2018

This PR:

  • removes references to dynamic_input_parameters
  • saves foreign key with taxbrain_model.json_text.save() (who knew all the ways you had to save a django relation?)
  • use set_fields and to_json to create raw_assumption_text field if it is not there

@lucassz can you review this?

RELEASES.md Outdated
@@ -22,6 +22,7 @@ Release 1.7.0 on 2018-06-??

**Bug Fixes**
- [#904](https://github.com/OpenSourcePolicyCenter/PolicyBrain/pull/904) - Fix formatting of the first line in CSV output for better compatibility - Lucas Szwarcberg
- [#912](https://github.com/OpenSourcePolicyCenter/PolicyBrain/pull/912) - Cleans up input parameter save and display logic for dyanamic app - Hank Doupe
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

*dynamic?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, good catch. Thanks @lucassz

@hdoupe hdoupe changed the title Cleans up input parameter save and display logic for dyanamic app Cleans up input parameter save and display logic for dynamic app Jun 27, 2018
@hdoupe hdoupe merged commit 49b0d37 into ospc-org:master Jun 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants