Install Django Polymorphic to use polymorphic models
This commit is contained in:
parent
0b3701f01f
commit
39e345ee67
|
@ -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:
|
||||||
|
|
|
@ -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',
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue