Metadata-Version: 2.4
Name: mind-drf-flex-fields-compat
Version: 1.0
Summary: Temporary compatibility shim: makes the old `rest_flex_fields` import path resolve to `mind_flex_fields`.
Author-email: Mindsight <marcos.thomaz@mindsight.com.br>
License-Expression: MIT
Project-URL: Homepage, https://github.com/thomazs/mind-drf-flex-fields
Project-URL: Repository, https://github.com/thomazs/mind-drf-flex-fields
Keywords: django,django-rest-framework,drf,migration,shim
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: mind-drf-flex-fields>=1.0
Dynamic: license-file

# mind-drf-flex-fields-compat

Temporary compatibility shim for
[mind-drf-flex-fields](https://pypi.org/project/mind-drf-flex-fields/), a fork of
`drf-flex-fields`.

Installing it makes the old `rest_flex_fields` import path resolve to
`mind_flex_fields`, so a project can swap the dependency **without** changing any code
yet:

```bash
pip uninstall drf-flex-fields
pip install mind-drf-flex-fields mind-drf-flex-fields-compat
# the project still boots, with every `rest_flex_fields` reference intact
```

Then rewrite the references and drop the shim:

```bash
mind-flex-fields-migrate
pip uninstall mind-drf-flex-fields-compat
```

Everything is re-exported from `mind_flex_fields` - the same objects, not copies - so
`isinstance` and `issubclass` keep working, and dotted settings strings such as
`"rest_flex_fields.filter_backends.FlexFieldsFilterBackend"` resolve as before. Importing
it raises a `DeprecationWarning`.

**Never install this alongside the real `drf-flex-fields`**: both provide a top-level
`rest_flex_fields` package and would overwrite each other's files.

See the [main project README](https://pypi.org/project/mind-drf-flex-fields/) for details.
