Details
Issue Links
- blocks
-
SIO-2155 Fix Django deprecation warnings on 1.10
-
SIO-2181 Check if ModelBackend and RemoteUserBackend new inactive user treatment breaks anything
-
SIO-2189 Fix backwards incompatible changes in 1.10 after incrementing django version
- is blocked by
-
SIO-2153 Fix deprecation warnings found in tests for Django 1.9
-
SIO-2169 Understand consequences and enable SessionAuthenticationMiddleware
-
SIO-2177 Fix backwards incompatible changes in 1.10 before incrementing django version
-
SIO-2190 Replace NoArgsCommand with BaseCommand
-
SIO-2192 Replace OptionParser with ArgumentParser
- is duplicated by
-
SIO-1835 Support Django 1.10
Activity
- All
- Comments
- History
- Activity
- Transitions
- Commits
https://gerrit.sio2project.mimuw.edu.pl/3163
(
This change incremenets Django version to 1.10 and updates all relevant
dependencies.
Change-Id: Ib3eb9aee66930be76dd884f4bcd7c7e238a26602
https://gerrit.sio2project.mimuw.edu.pl/3163
(
SIO-2154) Django 1.10This change consists of multiple sub-changes targeting issues that
cannot be easily and cleanly patched in a backwards compatible manner:
(
SIO-2164) This change increments Django version to 1.10 and updatesall relevant dependencies.
(
SIO-2176) Find alternative for Field.get_prep_lookup() andField.get_db_prep_lookup() methods
The work done in get_prep_lookup is done in get_prep_value in our case,
so there is no need to change anything except the deletion of
get_prep_lookup.
(
SIO-2179) Remove choices argument from Select/SelectMultiple widgets'render() and render_options() methods
(no-ticket) Django1.10 compatible urls.reverse patching
Current urlresolver was deprecated in Django 1.10. Changes made by
Django project require patching in "reverse" in two modules now.
(
SIO-2226) Fix tests for new logout behaviourThe behaviour has changed in Django 1.10 so that now the redirect is
done immediately on HTTP level. This patch modifies our tests to adapt
to this change.
(
SIO-2227) Fix argument parsing in management commandsIn an earlier patch, a switch was made from optparse to argparse for
management commands. However, it was not visible in the passed test
that all positional arguments have to be declared explicitly in parser.
(
SIO-2228) Fix tests for new username field constraintsAs of Django 1.10, the maximum length of a username is 150, and
username field is also required. Tests were adapted to accomodate
changes in generated HTML.
(
SIO-2229) Fix tests for new string-to-boolean conversionAs of Django 1.10, 'y' is no longer recognized as a boolean-convertible
value. Tests were adapted to use 't' instead.
Co-authored-by: Michal Sidor <ms394731@students.mimuw.edu.pl>
Co-authored-by: Artur Puzio <ap395026@students.mimuw.edu.pl>
Change-Id: Ib3eb9aee66930be76dd884f4bcd7c7e238a26602