Install Django Polymorphic to use polymorphic models

This commit is contained in:
Yohann D'ANELLO 2021-10-23 19:13:14 +02:00
parent 0b3701f01f
commit 39e345ee67
Signed by: ynerant
GPG Key ID: 3A75C55819C8CF85
3 changed files with 4 additions and 2 deletions

View File

@ -9,8 +9,8 @@ py39-django22:
- > - >
apt-get update && apt-get update &&
apt-get install --no-install-recommends -y apt-get install --no-install-recommends -y
python3-django python3-django-reversion python3-djangorestframework python3-django python3-django-polymorphic python3-django-reversion
python3-docutils python3-requests tox python3-djangorestframework python3-docutils python3-requests tox
script: tox -e py39 script: tox -e py39
linters: linters:

View File

@ -36,6 +36,7 @@ INSTALLED_APPS = [
'reversion', 'reversion',
'rest_framework', 'rest_framework',
'django_extensions', 'django_extensions',
'polymorphic',
# Django contrib # Django contrib
'django.contrib.admin', 'django.contrib.admin',

View File

@ -1,6 +1,7 @@
docutils~=0.16 # for Django-admin docs docutils~=0.16 # for Django-admin docs
Django~=2.2 Django~=2.2
django-filter~=2.4 django-filter~=2.4
django-polymorphic~=3.0
django-reversion~=3.0 django-reversion~=3.0
djangorestframework~=3.12 djangorestframework~=3.12
django_extensions~=3.0 django_extensions~=3.0