Don't lock Django to explicit version

... but rather use the same definition that is currently used in
Netbox's `requirements.txt`.
This commit is contained in:
Christian Mäder 2018-08-14 10:08:34 -07:00
parent fb22a19893
commit 2b3f831749
No known key found for this signature in database
GPG Key ID: 92FFD0A711F196BB

View File

@ -22,11 +22,10 @@ RUN pip install \
napalm \
# ruamel is used in startup_scripts
ruamel.yaml \
# if the Django package is not installed here to this pinned version
# django-rq will install the latest version (currently 2.1)
# then, when the requirements.txt of netbox is run, it will be
# uninstalled because it currently causes problems with netbox
Django==2.0.8 \
# pinning django to the version required by netbox
# adding it here, to install the correct version of
# django-rq
'Django>=1.11,<2.1' \
# django-rq is used for webhooks
django-rq