Merge pull request #28680 from edx/iamsobanjaved/jsonfield-switch
feat: replace jsonfield2 with jsonfield
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
# Generated by Django 2.2.24 on 2021-09-10 09:40
|
||||
|
||||
from django.db import migrations
|
||||
import jsonfield.fields
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('discussions', '0004_historicalprogramdiscussionsconfiguration_programdiscussionsconfiguration'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='discussionsconfiguration',
|
||||
name='plugin_configuration',
|
||||
field=jsonfield.fields.JSONField(blank=True, default={}, help_text='The plugin configuration data for this context/provider.'),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='historicaldiscussionsconfiguration',
|
||||
name='plugin_configuration',
|
||||
field=jsonfield.fields.JSONField(blank=True, default={}, help_text='The plugin configuration data for this context/provider.'),
|
||||
),
|
||||
]
|
||||
@@ -0,0 +1,25 @@
|
||||
# Generated by Django 2.2.24 on 2021-09-10 09:40
|
||||
|
||||
import collections
|
||||
from django.db import migrations
|
||||
import jsonfield.fields
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('site_configuration', '0007_remove_values_field'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='siteconfiguration',
|
||||
name='site_values',
|
||||
field=jsonfield.fields.JSONField(blank=True, default=dict, load_kwargs={'object_pairs_hook': collections.OrderedDict}),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='siteconfigurationhistory',
|
||||
name='site_values',
|
||||
field=jsonfield.fields.JSONField(blank=True, load_kwargs={'object_pairs_hook': collections.OrderedDict}),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user