Remove related attribute of check_access

Remove filter_by_access. Replaced by restrict_queryset.

Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
Roberto Rosario
2019-05-07 02:26:50 -04:00
parent ddbb0d496a
commit 5e4518211f
33 changed files with 74 additions and 75 deletions

View File

@@ -276,6 +276,18 @@ Other changes
* Add deprecation warning to convertdb
* Add the preparestatic command.
* Remove filter_by_access. Replaced by restrict_queryset.
* Remove the related attribute of check_access
- 'Passing the argument `related` to check_access() is '
- 'deprecated. Use the ModelPermission\'s class '
- '.register_inheritance() class method to register the access '
- 'relationship between two models. The registered relationship '
- 'will be automatically used by check_access().',
- InterfaceWarning
Removals
--------