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

        Connect your code to JIRA

        Link every code change to JIRA just by adding an issue keys in commit messages. Bridge the gap back to your source and know which changes fixed which JIRA issues.

        Git & Mercurial in the cloud

        Collaborate across unlimited private code repositories.

        Git behind the firewall

        Manage and collaborate on Git repositories behind a firewall.

        Browse and search code

        Browse, search, and track source code repositories.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: