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 account linked to committer's email address

View File

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