readme updates

This commit is contained in:
Brian Kohan 2026-01-05 13:33:40 -08:00
parent bb7802ade9
commit 7e9c20f87a
No known key found for this signature in database
GPG Key ID: 5C6CE8BA38C43FC1

View File

@ -75,8 +75,6 @@ ForeignKeys, ManyToManyFields or OneToOneFields.
**Note:** While [django-polymorphic](https://pypi.python.org/pypi/django-polymorphic) makes subclassed models easy to use in Django, we still encourage to use them with caution. Each subclassed model will require Django to perform an ``INNER JOIN`` to fetch the model fields from the database. While taking this in mind, there are valid reasons for using subclassed models. That's what this library is designed for!
The current release of [django-polymorphic](https://pypi.python.org/pypi/django-polymorphic) supports Django 2.2 - 5.2 on Python 3.9+.
For more information, see the [documentation at Read the Docs](https://django-polymorphic.readthedocs.io).
### Installation
@ -85,6 +83,14 @@ For more information, see the [documentation at Read the Docs](https://django-po
$ pip install django-polymorphic
```
```python
INSTALLED_APPS = [
...
"django.contrib.contenttypes", # we rely on the contenttypes framework
"polymorphic"
]
```
## License
[django-polymorphic](https://pypi.python.org/pypi/django-polymorphic) uses the same license as Django (BSD-like).