Skip to content

Commit a5e57c6

Browse files
authored
Pin DRF to known working version (#595)
* Pin DRF to known working version * Fix datetime format string typo
1 parent e369b93 commit a5e57c6

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

miqa/core/tasks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ def perform_import(import_dict):
222222
if last_decision_dict['created']:
223223
valid_dt = dateparser.parse(last_decision_dict['created'])
224224
if valid_dt:
225-
created = valid_dt.strftime('%Y-%m-%d %H:$M')
225+
created = valid_dt.strftime('%Y-%m-%d %H:%M')
226226
if last_decision_dict['location'] and last_decision_dict['location'] != '':
227227
slices = [
228228
axis.split('=')[1]

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
'django-extensions',
4646
'django-filter',
4747
'django-oauth-toolkit',
48-
'djangorestframework',
48+
'djangorestframework==3.13.1', # https://github.com/axnsan12/drf-yasg/issues/810
4949
'django-click',
5050
'django-guardian',
5151
'drf-yasg',

0 commit comments

Comments
 (0)