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

          People

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

            Dates

            • Created:
              Updated:
              Resolved: