Details
Description
From Django 1.10 the aforementioned methods are deprecated and converted into properties of AbstractBaseUser and AnonymousUser.
Docs: https://docs.djangoproject.com/en/2.1/releases/1.10/#using-user-is-authenticated-and-user-is-anonymous-as-methods
Docs: https://docs.djangoproject.com/en/2.1/releases/1.10/#using-user-is-authenticated-and-user-is-anonymous-as-methods
Activity
- All
- Comments
- History
- Activity
- Transitions
- Commits
Change oioioi~master~I5811b92c9294f2d87d61bc70d672dcaf4e5dacef, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3211
(no-ticket) Fix pytest.ini so that it treats all deprecation warnings as errors
In the earlier similar commit class PendingDeprecationWarning was
not added to the list warning --> error (did not generated an error),
but it is now.
Additionally, new exceptions were added and appropriate
Jira issues were created:
SIO-2155 Set the app_name attribute in urls modules strikes back
SIO-2233 Adapt old-style settings.MIDDLEWARE_CLASSES to the new version
SIO-2234 Change use of User.is_authenticated() and User.is_anonymous() methods
SIO-2235 Fix test_portals.json fixture
Change-Id: I5811b92c9294f2d87d61bc70d672dcaf4e5dacef
https://gerrit.sio2project.mimuw.edu.pl/3211
(no-ticket) Fix pytest.ini so that it treats all deprecation warnings as errors
In the earlier similar commit class PendingDeprecationWarning was
not added to the list warning --> error (did not generated an error),
but it is now.
Additionally, new exceptions were added and appropriate
Jira issues were created:
Change-Id: I5811b92c9294f2d87d61bc70d672dcaf4e5dacef
Show
Gerrit Gerrit
added a comment - Change oioioi~master~I5811b92c9294f2d87d61bc70d672dcaf4e5dacef, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3211
(no-ticket) Fix pytest.ini so that it treats all deprecation warnings as errors
In the earlier similar commit class PendingDeprecationWarning was
not added to the list warning --> error (did not generated an error),
but it is now.
Additionally, new exceptions were added and appropriate
Jira issues were created:
SIO-2155 Set the app_name attribute in urls modules strikes back
SIO-2233 Adapt old-style settings.MIDDLEWARE_CLASSES to the new version
SIO-2234 Change use of User.is_authenticated() and User.is_anonymous() methods
SIO-2235 Fix test_portals.json fixture
Change-Id: I5811b92c9294f2d87d61bc70d672dcaf4e5dacef
https://gerrit.sio2project.mimuw.edu.pl/3212
(
SIO-2234) Change use of User.is_authenticated() and User.is_anonymous() methodsChange-Id: I396273bee783a75595a480595da236818ed56e40