FJNR-inc / dry-rest-permissions

Rules based permissions for the Django Rest Framework
ISC License
75 stars 11 forks source link

Fix issue with import loops due to typing #26

Closed palfrey closed 2 years ago

palfrey commented 2 years ago

Fixes #25

There are probably other ways to test this without changing the global config but they're hard to do with the current setup. Would probably have to start with redoing the tests with pytest-django and so allowing splitting out of the settings configuration into multiple forms.

palfrey commented 2 years ago

@RignonNoel ?

RomainFayolle commented 2 years ago

Following up on https://github.com/FJNR-inc/dry-rest-permissions/issues/25#issuecomment-1151572958 I will close this PR for now. Thanks @palfrey for the help on this !