Skip to content

Commit e12e8ef

Browse files
authored
[3.15] Add RemovedInDRF317Warning (#578)
* [3.15] Add RemovedInDRF317Warning class * Update allowlist_todo.txt
1 parent 7d9563c commit e12e8ef

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

rest_framework-stubs/__init__.pyi

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,5 @@ HTTP_HEADER_ENCODING: str
99
ISO_8601: str
1010
default_app_config: str
1111

12-
class RemovedInDRF315Warning(PendingDeprecationWarning): ...
12+
class RemovedInDRF315Warning(DeprecationWarning): ...
13+
class RemovedInDRF317Warning(PendingDeprecationWarning): ...

scripts/stubtest/allowlist_todo.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,6 @@ rest_framework.views.AsView
137137
rest_framework.views.GenericView
138138

139139
# Added in 3.15:
140-
rest_framework.RemovedInDRF317Warning
141140
rest_framework.authtoken.migrations.0004_alter_tokenproxy_options
142141
rest_framework.fields.DecimalField.__init__
143142
rest_framework.fields.Field.__class_getitem__

0 commit comments

Comments
 (0)