Skip to content

Commit

Permalink
Bump version to 2.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
shacker committed Apr 2, 2019
1 parent e9a7bbe commit 388fb40
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,8 @@ django-todo no longer references a jQuery datepicker, but defaults to native htm

## Version History

**2.3.1** Improve error handling for badly formatted or non-existent CSV uploads.

**2.3.0** Implement mail tracking system. Added ability to batch-import tasks via CSV. Fixed task re-ordering if task deleted behind the scenes.

**2.2.2** Update dependencies
Expand Down
2 changes: 1 addition & 1 deletion todo/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""
A multi-user, multi-group task management and assignment system for Django.
"""
__version__ = '2.3.0'
__version__ = '2.3.1'

__author__ = 'Scot Hacker'
__email__ = 'shacker@birdhouse.org'
Expand Down
3 changes: 1 addition & 2 deletions todo/views/import_csv.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def import_csv(request) -> HttpResponse:
"""Import a specifically formatted CSV into stored tasks.
"""

ctx = {}
ctx = {"results": None}

if request.method == "POST":
filepath = request.FILES.get("csvfile")
Expand All @@ -25,7 +25,6 @@ def import_csv(request) -> HttpResponse:
importer = CSVImporter()
results = importer.upsert(filepath)

ctx["results"] = None
if results:
ctx["results"] = results
else:
Expand Down

0 comments on commit 388fb40

Please sign in to comment.