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

chore: remove obsolete dependency "jsonfield" #706

Merged

Conversation

afuetterer
Copy link
Member

Proposed changes

This PR proposed the following changes:

  • remove third-party jsonfield dependency
  • alter model fields in migrations files in rdmo/accounts

The fields that utilized the jsonfield dependency where part of the models Profile and DetailKey, that were both removed six years ago in https://github.com/rdmorganiser/rdmo/blob/44dcda2f419f6dff269ea5e0128cbcdf0d77006b/rdmo/accounts/migrations/0007_additional_fields.py

So I would suggest removing this dependency. Also if we ever need another JSONField, Django now supports this on its own without any third party package needed.

Related issue: #692

@afuetterer afuetterer changed the title chore: remove obsolete dependency jsonfield chore: remove obsolete dependency "jsonfield" Sep 13, 2023
@afuetterer
Copy link
Member Author

Can somebody with existing data test if this kind of change corrupts the database?

@jochenklar
Copy link
Member

Ok, I just checked, the version is relevant is so old, we did not even split the system into rdmo and rdmo-app back then, I will merge.

@jochenklar jochenklar merged commit ccb9572 into rdmorganiser:dev-2.0.0 Sep 15, 2023
17 checks passed
@afuetterer afuetterer deleted the 692-remove-jsonfield-dependency branch September 15, 2023 11:30
@MyPyDavid MyPyDavid added this to the 2.0.0 milestone Sep 19, 2023
CalamityC pushed a commit to CalamityC/rdmo that referenced this pull request Nov 23, 2023
…eld-dependency

chore: remove obsolete dependency "jsonfield"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants