-
Notifications
You must be signed in to change notification settings - Fork 18
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
base: master
Are you sure you want to change the base?
Conversation
...apps/catalog/migrations/0040_rename_json_metadata_contentmetadata__json_metadata_and_more.py
Outdated
Show resolved
Hide resolved
63f996d
to
d7a8efa
Compare
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}), | ||
), |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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
46d70a8
to
c68ee7c
Compare
ec06507
to
3d0d816
Compare
3d0d816
to
045086f
Compare
_json_metadata = {} # Callers are encouraged to set this. | ||
|
||
|
||
class RestrictedRunAllowedForRestrictedCourseFactory(factory.django.DjangoModelFactory): |
There was a problem hiding this comment.
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?
ENT-9569