From ec7f5a20470f3a1c2d62aa575076682a65df173e Mon Sep 17 00:00:00 2001 From: cuom1999 Date: Tue, 25 Jul 2023 22:49:50 +0700 Subject: [PATCH] Move function out of compressor --- requirements.txt | 2 +- templates/problem/submit.html | 59 ++++++++++++++++++----------------- 2 files changed, 31 insertions(+), 30 deletions(-) diff --git a/requirements.txt b/requirements.txt index 6cd4d1a..637c646 100644 --- a/requirements.txt +++ b/requirements.txt @@ -26,7 +26,7 @@ pyotp qrcode[pil] jsonfield @ git+https://github.com/DMOJ/jsonfield.git pymoss -packaging +packaging<23 celery ansi2html @ git+https://github.com/DMOJ/ansi2html.git sqlparse diff --git a/templates/problem/submit.html b/templates/problem/submit.html index 1fc608c..e9abb17 100644 --- a/templates/problem/submit.html +++ b/templates/problem/submit.html @@ -3,6 +3,36 @@ {% block js_media %} {{ form.media.js }} + {% compress js %}