Skip to content

fix cannot import name 'escape' from 'jinja2' #183

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fix cannot import name 'escape' from 'jinja2'
  • Loading branch information
sd3ntato committed May 14, 2024
commit a92188833335d916bc6188d9c0b2e51d834a89ee
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
.venv38


# Byte-compiled / optimized / DLL files
*__pycache__/
*.py[cod]
Expand Down
2 changes: 1 addition & 1 deletion excalibur/www/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
render_template,
send_from_directory,
)
from werkzeug import secure_filename
from werkzeug.utils import secure_filename

from .. import configuration as conf
from ..models import Job, File, Rule
Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,8 @@
"celery>=4.1.1",
"Click>=7.0",
"configparser>=3.5.0, <3.6.0",
"Flask>=1.0.2",
"Flask>=2.1.1",
"SQLAlchemy>=1.2.12",
"Werkzeug<1.0.0",
]
mysql = ["mysqlclient>=1.3.6"]
all_requires = requires + mysql
Expand Down