You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove the DJANGO_CONFIGURATION environment variable
There are a few issues with it:
* It doesn't work for the Enterprise version, because its settings module is
not located under `cvat.settings`.
* The name `DJANGO_CONFIGURATION` suggests that it's defined by Django, but
it isn't. It's a CVAT-specific variable. There's also a 3rd-party module
that uses this variable (django-configurations), but with different
semantics, which could cause confusion.
* It's just redundant to have two variables that effectively do the same thing
(`DJANGO_CONFIGURATION` and `DJANGO_SETTINGS_MODULE`).
Besides its runtime effect, `DJANGO_CONFIGURATION` is also used in the
Dockerfile to select the packages to install. I could see that still being
useful, so replace it with a build-only variable named `CVAT_CONFIGURATION`.
0 commit comments