diff --git a/miqa/core/tasks.py b/miqa/core/tasks.py index 06775446..16b27521 100644 --- a/miqa/core/tasks.py +++ b/miqa/core/tasks.py @@ -222,7 +222,7 @@ def perform_import(import_dict): if last_decision_dict['created']: valid_dt = dateparser.parse(last_decision_dict['created']) if valid_dt: - created = valid_dt.strftime('%Y-%m-%d %H:$M') + created = valid_dt.strftime('%Y-%m-%d %H:%M') if last_decision_dict['location'] and last_decision_dict['location'] != '': slices = [ axis.split('=')[1] diff --git a/setup.py b/setup.py index 10621007..1368c35a 100644 --- a/setup.py +++ b/setup.py @@ -45,7 +45,7 @@ 'django-extensions', 'django-filter', 'django-oauth-toolkit', - 'djangorestframework', + 'djangorestframework==3.13.1', # https://github.com/axnsan12/drf-yasg/issues/810 'django-click', 'django-guardian', 'drf-yasg',