mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-07-27 00:19:53 +03:00
Remove extra line.
This commit is contained in:
parent
79306680a1
commit
2889723927
|
@ -159,8 +159,6 @@ if django.VERSION >= (4, 2):
|
||||||
# which is slightly different from the one in 4.2, it needs
|
# which is slightly different from the one in 4.2, it needs
|
||||||
# the compatibility shim as well.
|
# the compatibility shim as well.
|
||||||
from django.utils.http import parse_header_parameters
|
from django.utils.http import parse_header_parameters
|
||||||
parse_header_parameters = parse_header_parameters
|
|
||||||
|
|
||||||
else:
|
else:
|
||||||
# Django <= 4.1: create a compatibility shim for parse_header_parameters
|
# Django <= 4.1: create a compatibility shim for parse_header_parameters
|
||||||
from django.http.multipartparser import parse_header
|
from django.http.multipartparser import parse_header
|
||||||
|
|
Loading…
Reference in New Issue
Block a user