Skip to content

Commit 4ab9cd0

Browse files
committed
removed translatable template + black
1 parent 03dc463 commit 4ab9cd0

File tree

2 files changed

+15
-9
lines changed

2 files changed

+15
-9
lines changed
Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
1-
{% load i18n %}
21
<!DOCTYPE html>
3-
<html lang="{{LANGUAGE_CODE}}">
2+
<html lang="en">
43
<head>
54
<meta charset="UTF-8" />
65
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
76
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
8-
<title>{% translate "Document" %}</title>
7+
<title>Document</title>
98
</head>
109

1110
<body>
12-
<p>{% blocktranslate %}Your export job on model {{app_label}}.{{model}} has completed. You can download the file at the following link:{% endblocktranslate %}</p>
11+
<p>Your export job on model {{app_label}}.{{model}} has completed. You can download the file at the following link:</p>
1312
<a href="{{link}}" target="_blank">{{link}}</a>
1413
</body>
1514
</html>

setup.py

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,11 @@
99
requires = ["Django", "django-import-export", "django-author", "html2text"]
1010

1111
try:
12-
version = subprocess.check_output(
13-
["git", "describe", "--abbrev=0", "--tags"]
14-
).decode("utf-8").strip()
12+
version = (
13+
subprocess.check_output(["git", "describe", "--abbrev=0", "--tags"])
14+
.decode("utf-8")
15+
.strip()
16+
)
1517
except subprocess.CalledProcessError:
1618
version = "0.dev" + datetime.datetime.now().strftime("%Y%m%d%H%M%S")
1719

@@ -23,9 +25,14 @@
2325
url="https://github.com/auto-mat/django-import-export-celery",
2426
download_url="http://pypi.python.org/pypi/django-import-export-celery/",
2527
description="Process long running django imports and exports in celery",
26-
long_description=codecs.open(os.path.join(here, "README.rst"), "r", "utf-8").read(),
28+
long_description=codecs.open(
29+
os.path.join(here, "README.rst"), "r", "utf-8"
30+
).read(),
2731
long_description_content_type="text/x-rst",
28-
license="License :: OSI Approved :: GNU Lesser General Public License v3.0 or later (LGPLv3.0+)",
32+
license=(
33+
"License :: OSI Approved :: GNU Lesser General Public License v3.0 or"
34+
" later (LGPLv3.0+)"
35+
),
2936
install_requires=requires,
3037
packages=find_packages(),
3138
include_package_data=True,

0 commit comments

Comments
 (0)