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
[Django Upgrade] [ ENG-3948] Fix Draft Registration Serializer DRF Issues #10034
Closed
Johnetordoff
wants to merge
5
commits into
CenterForOpenScience:feature/django_upgrade
from
Johnetordoff:django-3-DRF-serializer
Closed
[Django Upgrade] [ ENG-3948] Fix Draft Registration Serializer DRF Issues #10034
Johnetordoff
wants to merge
5
commits into
CenterForOpenScience:feature/django_upgrade
from
Johnetordoff:django-3-DRF-serializer
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Johnetordoff
force-pushed
the
django-3-DRF-serializer
branch
7 times, most recently
from
August 27, 2022 15:02
b879ab1
to
1e1a15f
Compare
Johnetordoff
force-pushed
the
django-3-DRF-serializer
branch
from
August 27, 2022 16:06
1e1a15f
to
7c30699
Compare
…OpenScience/osf.io into django-3-DRF-serializer * 'feature/django_upgrade' of https://github.com/CenterForOpenScience/osf.io: (23 commits) Fix system check warnings for django admin Add migrations for django upgrade base fixes Comment out admin permissions that clash with built-in "view" ones Add/Enable missing templates and middlewares in api settings Fix django CORS whitelist settings due to orgin definition update Add required on_delete=CASCADE (default) to FKs missing it Make fields defined on typedmodels subclasses nullable Upgrade django to 3.2.15 (and related dependencies) Fix typo Prevent errors in Keen-less environments Add missing defaults Bump DEFAULT_API_VERSION to 2.20 Improve import formatting Improve header comparison Add PLOS Metrics command - Update celery config/queues Fix local cookie samesite config and use 'Lax' instead of 'None' Add task to celery settings Pass and load Identifier ID instead of instance Bump version and update changelog Registration Resources (CenterForOpenScience#10042) ...
cslzchen
force-pushed
the
feature/django_upgrade
branch
from
September 9, 2022 19:24
c03627b
to
9e9c487
Compare
cslzchen
changed the title
Fix Draft Registration Serializer DRF issues for Django Upgrade
[Django Upgrade] [ ENG-3498] Fix Draft Registration Serializer DRF Issues
Sep 9, 2022
cslzchen
force-pushed
the
django-3-DRF-serializer
branch
2 times, most recently
from
September 9, 2022 20:23
12e9433
to
51ba98e
Compare
cslzchen
reviewed
Sep 12, 2022
…OpenScience/osf.io into django-3-DRF-serializer * 'feature/django_upgrade' of https://github.com/CenterForOpenScience/osf.io: Fix CORS for ORIGINS_WHITELIST Use prefetch instead of Django include Fix session cookie encoding/decoding by using ensure_str() Use JsonField from django.db.models and django.forms Use default truthy and falsy values from upgraded DRF 3.13.1 Enable django.contrib.sessions.middleware.SessionMiddleware Fix django cache table creation
Johnetordoff
force-pushed
the
django-3-DRF-serializer
branch
from
September 12, 2022 15:39
51ba98e
to
5e65a52
Compare
cslzchen
reviewed
Sep 12, 2022
cslzchen
reviewed
Sep 12, 2022
cslzchen
reviewed
Sep 12, 2022
cslzchen
reviewed
Sep 12, 2022
…OpenScience/osf.io into django-3-DRF-serializer * 'feature/django_upgrade' of https://github.com/CenterForOpenScience/osf.io: Remove QuickFile check from get_serializer_class for FileDetail view Rename auto generated migration for django3 upgrade fixes Bump NR Agent version
Johnetordoff
force-pushed
the
django-3-DRF-serializer
branch
from
September 13, 2022 14:35
a34732c
to
735117b
Compare
This PR has been replaced with #10058 |
cslzchen
changed the title
[Django Upgrade] [ ENG-3498] Fix Draft Registration Serializer DRF Issues
[Django Upgrade] [ ENG-3948] Fix Draft Registration Serializer DRF Issues
Oct 3, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Purpose
The Django/DRF upgrade created a complex inheirence issue where method names were resolved differently for subclassed serializer. This PR fixes those methods to work with tests.
Changes
Notes
Revelent disscussion:
encode/django-rest-framework#5798
What are the areas of risk?
Any concerns/considerations/questions that development raised?
Documentation
Side Effects
Ticket