1
0
mirror of https://gitlab.crans.org/mediatek/med.git synced 2024-12-24 17:42:23 +00:00

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 install --no-install-recommends -y
python3-django python3-django-reversion python3-djangorestframework
python3-docutils python3-requests tox
python3-django python3-django-polymorphic python3-django-reversion
python3-djangorestframework python3-docutils python3-requests tox
script: tox -e py39
linters:

View File

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

View File

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