Bump version to 2.3.1
This commit is contained in:
parent
e9a7bbe48c
commit
388fb40c00
3 changed files with 4 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -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")
|
||||
|
@ -25,7 +25,6 @@ def import_csv(request) -> HttpResponse:
|
|||
importer = CSVImporter()
|
||||
results = importer.upsert(filepath)
|
||||
|
||||
ctx["results"] = None
|
||||
if results:
|
||||
ctx["results"] = results
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue