model-bakers / model_bakery

Object factory for Django
https://model-bakery.readthedocs.io/en/latest/
Other
846 stars 85 forks source link

Fix #265 -- drop hard dependency on `contenttypes` framework #476

Closed amureki closed 7 months ago

amureki commented 7 months ago

Describe the change

As mentioned in #265 - we are not hard-depending on contenttypes framework, so we need to be able to bake without it. It is a bit tricky as there are multiple places, where we are using contenttypes framework and auth framework (which depends on contenttypes), however nothing is impossible.

PR Checklist