Details

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

      Description

      In Django 1.10 "old-style" middleware that uses settings.MIDDLEWARE_CLASSES is deprecated. We must adapt it to the new style or use new MIDDLEWARE setting.

      Docs: https://docs.djangoproject.com/en/2.1/releases/1.10/#id3 (12th dot)

        Activity

        Hide
        Gerrit Gerrit added a comment -
        Change oioioi~master~I4a66cb476e533bc76662d79c7beba6915b128b4f, patchset 7
        https://gerrit.sio2project.mimuw.edu.pl/3214

        (SIO-2233) Adapt old-style settings.MIDDLEWARE_CLASSES to the new version

        Slighty new semantic of MIDDLEWARE changed behaviour of
        SuFirstTimeRedirectionMiddleware, but it seems to
        work in an acceptable way.

        Fixed one test in oioioi/base.

        Added minimal version requirements for dj-pagination,
        django-otp and django-debug-toolbar.

        Change-Id: I4a66cb476e533bc76662d79c7beba6915b128b4f
        Show
        Gerrit Gerrit added a comment - Change oioioi~master~I4a66cb476e533bc76662d79c7beba6915b128b4f, patchset 7 https://gerrit.sio2project.mimuw.edu.pl/3214 ( SIO-2233 ) Adapt old-style settings.MIDDLEWARE_CLASSES to the new version Slighty new semantic of MIDDLEWARE changed behaviour of SuFirstTimeRedirectionMiddleware, but it seems to work in an acceptable way. Fixed one test in oioioi/base. Added minimal version requirements for dj-pagination, django-otp and django-debug-toolbar. Change-Id: I4a66cb476e533bc76662d79c7beba6915b128b4f
        Hide
        Gerrit Gerrit added a comment -
        Change oioioi~master~I4a66cb476e533bc76662d79c7beba6915b128b4f, patchset 8
        https://gerrit.sio2project.mimuw.edu.pl/3214

        (SIO-2233) Adapt old-style settings.MIDDLEWARE_CLASSES to the new version

        Slighty new semantic of MIDDLEWARE changed behaviour of
        SuFirstTimeRedirectionMiddleware, but it seems to
        work in an acceptable way.

        Fixed one test in oioioi/base.

        Added minimal version requirements for dj-pagination,
        django-otp and django-debug-toolbar.

        Change-Id: I4a66cb476e533bc76662d79c7beba6915b128b4f
        Show
        Gerrit Gerrit added a comment - Change oioioi~master~I4a66cb476e533bc76662d79c7beba6915b128b4f, patchset 8 https://gerrit.sio2project.mimuw.edu.pl/3214 ( SIO-2233 ) Adapt old-style settings.MIDDLEWARE_CLASSES to the new version Slighty new semantic of MIDDLEWARE changed behaviour of SuFirstTimeRedirectionMiddleware, but it seems to work in an acceptable way. Fixed one test in oioioi/base. Added minimal version requirements for dj-pagination, django-otp and django-debug-toolbar. Change-Id: I4a66cb476e533bc76662d79c7beba6915b128b4f
        Hide
        Gerrit Gerrit added a comment -
        Change oioioi~master~I4a66cb476e533bc76662d79c7beba6915b128b4f, patchset 9
        https://gerrit.sio2project.mimuw.edu.pl/3214

        (SIO-2233) Adapt old-style settings.MIDDLEWARE_CLASSES to the new version

        Slighty new semantic of MIDDLEWARE changed behaviour of
        SuFirstTimeRedirectionMiddleware, but it seems to
        work in an acceptable way.

        Fixed one test in oioioi/base.

        Added minimal version requirements for dj-pagination,
        django-otp and django-debug-toolbar.

        Change-Id: I4a66cb476e533bc76662d79c7beba6915b128b4f
        Show
        Gerrit Gerrit added a comment - Change oioioi~master~I4a66cb476e533bc76662d79c7beba6915b128b4f, patchset 9 https://gerrit.sio2project.mimuw.edu.pl/3214 ( SIO-2233 ) Adapt old-style settings.MIDDLEWARE_CLASSES to the new version Slighty new semantic of MIDDLEWARE changed behaviour of SuFirstTimeRedirectionMiddleware, but it seems to work in an acceptable way. Fixed one test in oioioi/base. Added minimal version requirements for dj-pagination, django-otp and django-debug-toolbar. Change-Id: I4a66cb476e533bc76662d79c7beba6915b128b4f
        Hide
        Gerrit Gerrit added a comment -
        Change oioioi~master~I4a66cb476e533bc76662d79c7beba6915b128b4f, patchset 10
        https://gerrit.sio2project.mimuw.edu.pl/3214

        (SIO-2233) Adapt old-style settings.MIDDLEWARE_CLASSES to the new version

        Slighty new semantic of MIDDLEWARE changed behaviour of
        SuFirstTimeRedirectionMiddleware, but it seems to
        work in an acceptable way.

        Fixed one test in oioioi/base.

        Added minimal version requirements for dj-pagination,
        django-otp and django-debug-toolbar.

        Change-Id: I4a66cb476e533bc76662d79c7beba6915b128b4f
        Show
        Gerrit Gerrit added a comment - Change oioioi~master~I4a66cb476e533bc76662d79c7beba6915b128b4f, patchset 10 https://gerrit.sio2project.mimuw.edu.pl/3214 ( SIO-2233 ) Adapt old-style settings.MIDDLEWARE_CLASSES to the new version Slighty new semantic of MIDDLEWARE changed behaviour of SuFirstTimeRedirectionMiddleware, but it seems to work in an acceptable way. Fixed one test in oioioi/base. Added minimal version requirements for dj-pagination, django-otp and django-debug-toolbar. Change-Id: I4a66cb476e533bc76662d79c7beba6915b128b4f
        Hide
        Gerrit Gerrit added a comment -
        Change oioioi~master~I4a66cb476e533bc76662d79c7beba6915b128b4f, patchset 11
        https://gerrit.sio2project.mimuw.edu.pl/3214

        (SIO-2233) Adapt old-style settings.MIDDLEWARE_CLASSES to the new version

        Slighty new semantic of MIDDLEWARE changed behaviour of
        SuFirstTimeRedirectionMiddleware, but it seems to
        work in an acceptable way.

        Fixed one test in oioioi/base.

        Added minimal version requirements for dj-pagination,
        django-otp and django-debug-toolbar.

        Change-Id: I4a66cb476e533bc76662d79c7beba6915b128b4f
        Show
        Gerrit Gerrit added a comment - Change oioioi~master~I4a66cb476e533bc76662d79c7beba6915b128b4f, patchset 11 https://gerrit.sio2project.mimuw.edu.pl/3214 ( SIO-2233 ) Adapt old-style settings.MIDDLEWARE_CLASSES to the new version Slighty new semantic of MIDDLEWARE changed behaviour of SuFirstTimeRedirectionMiddleware, but it seems to work in an acceptable way. Fixed one test in oioioi/base. Added minimal version requirements for dj-pagination, django-otp and django-debug-toolbar. Change-Id: I4a66cb476e533bc76662d79c7beba6915b128b4f

          People

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

            Dates

            • Created:
              Updated:
              Resolved: