The SIO2 project
  1. The SIO2 project
  2. SIO-1138

django.modelAdmin does not check the unique_together constraint

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 0.1.2
    • Fix Version/s: 0.1.3
    • Component/s: OIOIOI
    • Labels:
      None
    • Story Points:
      1

      Description

      When attempt to create a Region or Participant which already exists we get InternalError instead of user-friendly error message. It seems that django.modelAdmin does not check the unique_together constraint on these models when creating new objects.

        Activity

        Maciej Kisiel made changes -
        Field Original Value New Value
        Description When attempted to create a Region or Participant which already exists we get InternalError instead of user-friendly error message. It seems that django.modelAdmin does not check the unique_together constraint on these models when creating new objects. When attempt to create a Region or Participant which already exists we get InternalError instead of user-friendly error message. It seems that django.modelAdmin does not check the unique_together constraint on these models when creating new objects.
        Maciej Kisiel made changes -
        Assignee Maciej Kisiel [ welter ]
        Maciej Kisiel made changes -
        Status New [ 10000 ] Open [ 1 ]
        Maciej Kisiel made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Maciej Kisiel made changes -
        Fix Version/s 0.1.3 [ 11102 ]
        Affects Version/s 0.1.2 [ 11100 ]
        Affects Version/s Far Future [ 11002 ]
        Story Points 1
        Maciej Kisiel made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Assignee Mateusz Kwapich [ mitrandir77 ] Szymon Acedański [ accek ]
        Resolution Fixed [ 1 ]
        Mateusz Kwapich made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Assignee Szymon Acedański [ accek ] Mateusz Kwapich [ mitrandir77 ]

          People

          • Assignee:
            Mateusz Kwapich
            Reporter:
            Maciej Kisiel
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: