Bump version to 2.3.1

This commit is contained in:
Scot Hacker 2019-04-01 23:48:54 -07:00
parent e9a7bbe48c
commit 388fb40c00
3 changed files with 4 additions and 3 deletions

View file

@ -312,6 +312,8 @@ django-todo no longer references a jQuery datepicker, but defaults to native htm
## Version History ## 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.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 **2.2.2** Update dependencies

View file

@ -1,7 +1,7 @@
""" """
A multi-user, multi-group task management and assignment system for Django. A multi-user, multi-group task management and assignment system for Django.
""" """
__version__ = '2.3.0' __version__ = '2.3.1'
__author__ = 'Scot Hacker' __author__ = 'Scot Hacker'
__email__ = 'shacker@birdhouse.org' __email__ = 'shacker@birdhouse.org'

View file

@ -13,7 +13,7 @@ def import_csv(request) -> HttpResponse:
"""Import a specifically formatted CSV into stored tasks. """Import a specifically formatted CSV into stored tasks.
""" """
ctx = {} ctx = {"results": None}
if request.method == "POST": if request.method == "POST":
filepath = request.FILES.get("csvfile") filepath = request.FILES.get("csvfile")
@ -25,7 +25,6 @@ def import_csv(request) -> HttpResponse:
importer = CSVImporter() importer = CSVImporter()
results = importer.upsert(filepath) results = importer.upsert(filepath)
ctx["results"] = None
if results: if results:
ctx["results"] = results ctx["results"] = results
else: else: