Details

    • Type: Sub-task Sub-task
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: TAG 2018/19 Sprint 2
    • Fix Version/s: None
    • Component/s: OIOIOI
    • Labels:

      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

        Activity

        Hide
        Gerrit Gerrit added a comment -
        Change oioioi~master~I396273bee783a75595a480595da236818ed56e40, patchset 3
        https://gerrit.sio2project.mimuw.edu.pl/3212

        (SIO-2234) Change use of User.is_authenticated() and User.is_anonymous() methods

        Change-Id: I396273bee783a75595a480595da236818ed56e40
        Show
        Gerrit Gerrit added a comment - Change oioioi~master~I396273bee783a75595a480595da236818ed56e40, patchset 3 https://gerrit.sio2project.mimuw.edu.pl/3212 ( SIO-2234 ) Change use of User.is_authenticated() and User.is_anonymous() methods Change-Id: I396273bee783a75595a480595da236818ed56e40
        Hide
        Gerrit Gerrit added a comment -
        Change oioioi~master~I396273bee783a75595a480595da236818ed56e40, patchset 2
        https://gerrit.sio2project.mimuw.edu.pl/3212

        (SIO-2234) Change use of User.is_authenticated() and User.is_anonymous() methods

        Change-Id: I396273bee783a75595a480595da236818ed56e40
        Show
        Gerrit Gerrit added a comment - Change oioioi~master~I396273bee783a75595a480595da236818ed56e40, patchset 2 https://gerrit.sio2project.mimuw.edu.pl/3212 ( SIO-2234 ) Change use of User.is_authenticated() and User.is_anonymous() methods Change-Id: I396273bee783a75595a480595da236818ed56e40
        Hide
        Gerrit Gerrit added a comment -
        Change oioioi~master~I396273bee783a75595a480595da236818ed56e40, patchset 1
        https://gerrit.sio2project.mimuw.edu.pl/3212

        (SIO-2234) Change use of User.is_authenticated() and User.is_anonymous() methods

        Change-Id: I396273bee783a75595a480595da236818ed56e40
        Show
        Gerrit Gerrit added a comment - Change oioioi~master~I396273bee783a75595a480595da236818ed56e40, patchset 1 https://gerrit.sio2project.mimuw.edu.pl/3212 ( SIO-2234 ) Change use of User.is_authenticated() and User.is_anonymous() methods Change-Id: I396273bee783a75595a480595da236818ed56e40
        Hide
        Gerrit Gerrit added a comment -
        Change oioioi~master~I5811b92c9294f2d87d61bc70d672dcaf4e5dacef, patchset 7
        https://gerrit.sio2project.mimuw.edu.pl/3211

        (no-ticket) Fix pytest.ini so that it treats all new 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

        Added an exception for warnings generated by external packages.

        Change-Id: I5811b92c9294f2d87d61bc70d672dcaf4e5dacef
        Show
        Gerrit Gerrit added a comment - Change oioioi~master~I5811b92c9294f2d87d61bc70d672dcaf4e5dacef, patchset 7 https://gerrit.sio2project.mimuw.edu.pl/3211 (no-ticket) Fix pytest.ini so that it treats all new 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 Added an exception for warnings generated by external packages. Change-Id: I5811b92c9294f2d87d61bc70d672dcaf4e5dacef
        Hide
        Gerrit Gerrit added a comment -
        Change oioioi~master~I5811b92c9294f2d87d61bc70d672dcaf4e5dacef, patchset 6
        https://gerrit.sio2project.mimuw.edu.pl/3211

        (no-ticket) Fix pytest.ini so that it treats all new 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

        Added exception for 'on_delete' warnings generated by external packages.

        Change-Id: I5811b92c9294f2d87d61bc70d672dcaf4e5dacef
        Show
        Gerrit Gerrit added a comment - Change oioioi~master~I5811b92c9294f2d87d61bc70d672dcaf4e5dacef, patchset 6 https://gerrit.sio2project.mimuw.edu.pl/3211 (no-ticket) Fix pytest.ini so that it treats all new 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 Added exception for 'on_delete' warnings generated by external packages. Change-Id: I5811b92c9294f2d87d61bc70d672dcaf4e5dacef

          People

          • Assignee:
            Szymon Acedański
            Reporter:
            Marek Żochowski
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: