peering-manager / docker

🐳 Docker Image of Peering Manager
Apache License 2.0
9 stars 13 forks source link

fix broken import at startup_scripts/020_tags.py #29

Closed lepoul closed 1 year ago

lepoul commented 1 year ago

After introduction of extras/models/tags.py with the https://github.com/peering-manager/peering-manager/commit/3f8b9662b5f0b49d439ec0e23fb1485ae461d904 commit, docker-compose breaks with the following error:

peering-manager_1  |   File "/opt/peering-manager/startup_scripts/020_tags.py", line 3, in <module>
peering-manager_1  |     from extras.models import Tag
peering-manager_1  | ImportError: cannot import name 'Tag' from 'extras.models' (/opt/peering-manager/extras/models/__init__.py)

This PR edits startup_scripts/020_tags.py to fix this error.

gmazoyer commented 1 year ago

Fix by upgrading to Peering Manager 1.8