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

NoReverseMatch when trying to edit schools without selecting a contest

    Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Priority: Minor Minor
    • Resolution: Obsolete
    • Affects Version/s: Current Version
    • Fix Version/s: Current Version
    • Component/s: OIOIOI
    • Labels:
      None

      Description

      https://sio2.mimuw.edu.pl/admin/oi/school/ doesn't work.
      https://sio2.mimuw.edu.pl/c/oi25-test/admin/oi/school/ works.

      Sentry issue:
      https://sentry.io/the-sio2-project/oioioi/issues/348751630/

      {code}
      NoReverseMatch: Reverse for 'participants_participant_changelist' with arguments '()' and keyword arguments '{}' not found. 0 pattern(s) tried: []
        File "oioioi/contests/current_contest.py", line 104, in reverse
          return django_reverse(name, *args, **kwargs)
        File "oioioi/oi/models.py", line 84, in get_participants_url
          url = reverse('oioioiadmin:participants_participant_changelist')
        File "oioioi/oi/admin.py", line 28, in participants_link
          return make_html_link(instance.get_participants_url(),
      ...
      (43 additional frame(s) were not displayed)

      NoReverseMatch: Reverse for 'participants_participant_changelist' with arguments '()' and keyword arguments '{}' not found. 0 pattern(s) tried: []
      {code}

        Activity

        Hide
        Szymon Acedański added a comment -
        This issue has been automatically closed as Obsolete due to no activity for 365 days.

        Feel free to reopen it or create a new one if it's still relevant.
        Show
        Szymon Acedański added a comment - This issue has been automatically closed as Obsolete due to no activity for 365 days. Feel free to reopen it or create a new one if it's still relevant.

          People

          • Assignee:
            Szymon Acedański
            Reporter:
            Wojciech Dubiel
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: