Details

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

      Description

      OneToOneField, OneToOneBothHandsCascadingParticipantField, TreeForeignKey

        Activity

        Hide
        Gerrit Gerrit added a comment -
        Change oioioi~master~I8439d40e0d5a6b16336a8f4ab4983f9e7fc52e08, patchset 1
        https://gerrit.sio2project.mimuw.edu.pl/3153

        (SIO-2168) Set on_delete behaviour

        This solved following warning

        RemovedInDjango20Warning: on_delete will be a required arg for *** in Django 2.0. Set it to models.CASCADE on models and in existing migrations if you want to maintain the current default behavior.

        Behaviour is set to the current default of CASCADE where undefined.

        This commit doesn't introduce any difference in code logic.

        Change-Id: I8439d40e0d5a6b16336a8f4ab4983f9e7fc52e08
        Show
        Gerrit Gerrit added a comment - Change oioioi~master~I8439d40e0d5a6b16336a8f4ab4983f9e7fc52e08, patchset 1 https://gerrit.sio2project.mimuw.edu.pl/3153 ( SIO-2168 ) Set on_delete behaviour This solved following warning RemovedInDjango20Warning: on_delete will be a required arg for *** in Django 2.0. Set it to models.CASCADE on models and in existing migrations if you want to maintain the current default behavior. Behaviour is set to the current default of CASCADE where undefined. This commit doesn't introduce any difference in code logic. Change-Id: I8439d40e0d5a6b16336a8f4ab4983f9e7fc52e08
        Hide
        Gerrit Gerrit added a comment -
        Change oioioi~master~I8439d40e0d5a6b16336a8f4ab4983f9e7fc52e08, patchset 2
        https://gerrit.sio2project.mimuw.edu.pl/3153

        (SIO-2168) Set on_delete behaviour

        This solved following warning

        RemovedInDjango20Warning: on_delete will be a required arg for *** in Django 2.0. Set it to models.CASCADE on models and in existing migrations if you want to maintain the current default behavior.

        Behaviour is set to the current default of CASCADE where undefined.

        This commit doesn't introduce any difference in code logic.

        Change-Id: I8439d40e0d5a6b16336a8f4ab4983f9e7fc52e08
        Show
        Gerrit Gerrit added a comment - Change oioioi~master~I8439d40e0d5a6b16336a8f4ab4983f9e7fc52e08, patchset 2 https://gerrit.sio2project.mimuw.edu.pl/3153 ( SIO-2168 ) Set on_delete behaviour This solved following warning RemovedInDjango20Warning: on_delete will be a required arg for *** in Django 2.0. Set it to models.CASCADE on models and in existing migrations if you want to maintain the current default behavior. Behaviour is set to the current default of CASCADE where undefined. This commit doesn't introduce any difference in code logic. Change-Id: I8439d40e0d5a6b16336a8f4ab4983f9e7fc52e08

          People

          • Assignee:
            Szymon AcedaƄski
            Reporter:
            Artur Puzio
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: