Skip to content

Commit

Permalink
completely remove pikachu page
Browse files Browse the repository at this point in the history
  • Loading branch information
iotran207 committed Nov 23, 2024
1 parent 5c1167a commit 18fed49
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
3 changes: 0 additions & 3 deletions dmoj/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
from judge.views import TitledTemplateView, api, blog, comment, contests, language, license, mailgun, organization, \
preview, problem, problem_manage, ranked_submission, register, stats, status, submission, tag, tasks, ticket, \
two_factor, user, widgets
from judge.views.contests import return_scss
from judge.views.magazine import MagazinePage
from judge.views.problem_data import ProblemDataView, ProblemSubmissionDiff, \
problem_data_file, problem_init_view
Expand Down Expand Up @@ -319,8 +318,6 @@ def paged_list_view(view, name):
path('/', lambda _, slug: HttpResponsePermanentRedirect(reverse('organization_home', args=[slug]))),
])),

path('return_scss', return_scss, name='something fun'),

path('runtimes/', language.LanguageList.as_view(), name='runtime_list'),
path('runtimes/matrix/', status.version_matrix, name='version_matrix'),
path('status/', status.status_all, name='status_all'),
Expand Down
6 changes: 1 addition & 5 deletions judge/views/contests.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
__all__ = ['ContestList', 'ContestDetail', 'ContestRanking', 'ContestJoin', 'ContestLeave', 'ContestCalendar',
'ContestClone', 'ContestStats', 'ContestMossView', 'ContestMossDelete',
'ContestParticipationList', 'ContestParticipationDisqualify', 'get_contest_ranking_list',
'base_contest_ranking_list', 'CalculateMoss', 'ExportMoss', 'return_scss']
'base_contest_ranking_list', 'CalculateMoss', 'ExportMoss']


def _find_contest(request, key, private_check=True):
Expand Down Expand Up @@ -1516,10 +1516,6 @@ def post(self, request, *args, **kwargs):
return super().post(request, *args, **kwargs)


def return_scss(request):
return render(request, 'contest/media-scss.html')


class ContestDownloadData(ContestDataMixin, SingleObjectMixin, View):
def get(self, request, *args, **kwargs):
self.object = self.get_object()
Expand Down

0 comments on commit 18fed49

Please sign in to comment.