Skip to content

Commit 08fe2a1

Browse files
author
Frank Duncan
committed
Fix small errors on the migration, prepare for 0.2.4
1 parent f3da7a6 commit 08fe2a1

8 files changed

Lines changed: 13 additions & 12 deletions

File tree

RELEASING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ When releasing a new version, a few things need to happen:
44

55
* Update the variable in both the server and client, in
66
* `__version__` in [torqueclient/torqueclient/version.py]
7-
* `__version` in [django-torque/torque/version.py]
7+
* `__version__` in [django-torque/torque/version.py]
88
* `version` attribute in [extenions/extension.json]
99
* commit the version update
1010
* tag the release in git

django-torque/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
config.py
2+
dist
3+
django_torque.egg-info/

django-torque/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"License :: OSI Approved :: GNU Affero General Public License v3",
2323
"Operating System :: OS Independent",
2424
],
25-
packages=["torque"],
25+
packages=["torque", "torque.cache_rebuilder"],
2626
install_requires=["mwclient", "python-magic", "jinja2", "werkzeug"],
2727
package_dir={"": "."},
2828
python_requres=">=3.6",

django-torque/torque/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.2.2"
1+
__version__ = "0.2.4"

django-torque/torque/views.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def search(q, filters, offset, template_config, wiki_configs, fmt, multi):
6565
.select_related("collection")
6666
)
6767
filter_results = []
68-
for filter in setting.TORQUE_FILTERS:
68+
for filter in settings.TORQUE_FILTERS:
6969
additional_filters = []
7070
for name, values in filters.items():
7171
if name != filter.name():
@@ -748,9 +748,9 @@ def get_csv(request, name, fmt):
748748

749749
columns = []
750750
for field_name in valid_field_names:
751-
if field_name in getattr(settings, "CSV_PROCESSORS", {}):
751+
if field_name in getattr(settings, "TORQUE_CSV_PROCESSORS", {}):
752752
columns.extend(
753-
settings.CSV_PROCESSORS[field_name].field_names(field_name)
753+
settings.TORQUE_CSV_PROCESSORS[field_name].field_names(field_name)
754754
)
755755
else:
756756
columns.append(field_name)
@@ -767,10 +767,10 @@ def get_csv(request, name, fmt):
767767
for field_name in valid_field_names:
768768
if (
769769
field_name in values_by_field
770-
and field_name in getattr(settings, "CSV_PROCESSORS", {})
770+
and field_name in getattr(settings, "TORQUE_CSV_PROCESSORS", {})
771771
):
772772
row.extend(
773-
config.CSV_PROCESSORS[field_name].process_value(
773+
settings.TORQUE_CSV_PROCESSORS[field_name].process_value(
774774
values_by_field[field_name].to_python()
775775
)
776776
)

extension/Torque/extension.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "Torque",
3-
"version": "0.2.2",
3+
"version": "0.2.4",
44
"author": [
55
"Open Tech Strategies"
66
],

torqueclient/setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@
1111

1212
setup(
1313
name="torqueclient",
14-
version="0.2.2",
15-
#version=main_ns['__version__'],
14+
version=main_ns['__version__'],
1615
description="Python client for mediawiki/torque",
1716
long_description=long_description,
1817
long_description_content_type="text/markdown",
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.2.2"
1+
__version__ = "0.2.4"

0 commit comments

Comments
 (0)