-
-
Notifications
You must be signed in to change notification settings - Fork 127
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
[Python3 and Django2.2 upgrade] part 4 - Use Python3 & Django 1.11 #629
Closed
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
…lues()" when needed
- Replaced `is_anonymous()` with `is_anonymous` - Replaced `is_authenticated()` with `is_authenticated` - Replaced `detail_route` and `list_route` with `action_route` - Replaced `make_option` in management command with `add_argument` - Use imports in url patterns (instead of string imports) - Changed INSTALLED_APP order
- typo `@action_route` instead of `@action` - Use djangorestframework_guardian package for DjangoObjectPermissionsFilter - Use `io.StringIO` instead of `StringIO.StringIO` - Moved redis session settings to prod settings
- Added explicit "fields" property to serializers - Used force_bytes() and smart_str() when needed - Removed deprecated assertDictContains
Remove old logout message
…ded directly than through KPI
because it thrashes the database
…today Remove `submission_count_for_today` from API…
…move-ui-CUD-actions-unicode # Conflicts: # kobocat-template/templates/base.html # kobocat-template/templates/data_view.html # kobocat-template/templates/instance.html # kobocat-template/templates/profile.html # kobocat-template/templates/show.html # kobocat-template/templates/stats_tables.html # onadata/apps/api/tests/viewsets/test_xform_viewset.py # onadata/apps/api/viewsets/xform_viewset.py # onadata/apps/logger/models/xform.py # onadata/apps/logger/views.py # onadata/apps/main/views.py # onadata/apps/viewer/views.py
…:kobotoolbox/kobocat into kobokitten-remove-ui-CUD-actions-unicode
…ons-unicode # Conflicts: # onadata/libs/serializers/xform_serializer.py
…mission [Feature] Add `delete_data` permission
when migrating in addition to assigning the permission at the object level
…ermissions Assign object-level delete_data_xform permission…
…en-py3 # Conflicts: # onadata/apps/api/tests/viewsets/test_data_viewset.py # onadata/apps/api/tests/viewsets/test_xform_viewset.py # onadata/apps/api/viewsets/xform_list_api.py # onadata/apps/logger/models/xform.py # onadata/apps/viewer/models/data_dictionary.py # onadata/libs/serializers/xform_serializer.py # onadata/libs/utils/export_tools.py # onadata/libs/utils/user_auth.py
Closed in favor of #678 |
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.
related to #602
Tests don't pass (anymore), but pass in Django 2.2 related branches (part 6, 7, 8)