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

Data model for explicit storage of restricted runs and their courses #963

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pwnage101
Copy link
Contributor

ENT-9569

@pwnage101 pwnage101 force-pushed the pwnage101/ENT-9569 branch 3 times, most recently from 63f996d to d7a8efa Compare October 9, 2024 04:33
Comment on lines +59 to +63
migrations.AlterField(
model_name='catalogquery',
name='content_filter',
field=jsonfield.fields.JSONField(default=dict, dump_kwargs={'cls': jsonfield.encoder.JSONEncoder, 'ensure_ascii': False, 'indent': 4, 'separators': (',', ':')}, help_text="Query parameters which will be used to filter the discovery service's search/all endpoint results, specified as a JSON object.", load_kwargs={'object_pairs_hook': collections.OrderedDict}),
),
Copy link
Contributor Author

Choose a reason for hiding this comment

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

why on earth is this being altered?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'll rebase on alex's PR to fix this. #967

@pwnage101 pwnage101 force-pushed the pwnage101/ENT-9569 branch 2 times, most recently from 46d70a8 to c68ee7c Compare October 9, 2024 04:58
@pwnage101 pwnage101 marked this pull request as ready for review October 9, 2024 04:59
@pwnage101 pwnage101 force-pushed the pwnage101/ENT-9569 branch 4 times, most recently from ec06507 to 3d0d816 Compare October 9, 2024 20:23
_json_metadata = {} # Callers are encouraged to set this.


class RestrictedRunAllowedForRestrictedCourseFactory(factory.django.DjangoModelFactory):
Copy link
Contributor

Choose a reason for hiding this comment

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

Q: so a content_key does not need to be passed in when instantiating a RestrictedRunAllowedForRestrictedCourseFactory obj?

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.

3 participants