fix: devstack_docker -> devstack

In the context of edx-platform django settings,
devstack_docker is an alias to devstack. Both
are deprecated, technically, but we currently
want to remove all devstack-related settings files
except devstack.py (which tutor still uses). So,
in order to remove devstack_docker.py, we update
its references to devstack.py
This commit is contained in:
Kyle McCormick
2025-06-13 14:45:03 -04:00
committed by Kyle McCormick
parent a7eb261330
commit 7a77652cd6
7 changed files with 14 additions and 23 deletions

View File

@@ -41,11 +41,11 @@ class Command(BaseCommand):
Example usage:
# Process all certs/grades changes for a given course:
$ ./manage.py lms --settings=devstack_docker notify_credentials \
$ ./manage.py lms --settings=devstack notify_credentials \
--courses course-v1:edX+DemoX+Demo_Course
# Process all certs/grades changes in a given time range:
$ ./manage.py lms --settings=devstack_docker notify_credentials \
$ ./manage.py lms --settings=devstack notify_credentials \
--start-date 2018-06-01 --end-date 2018-07-31
A Dry Run will produce output that looks like:

View File

@@ -130,21 +130,21 @@ can use:
::
./manage.py lms --settings devstack_docker send_recurring_nudge example.com
./manage.py lms --settings devstack send_recurring_nudge example.com
You can override the “current date” when running a command. The app will run,
using the date you specify as its "today":
::
./manage.py lms --settings devstack_docker send_recurring_nudge example.com --date 2017-11-13
./manage.py lms --settings devstack send_recurring_nudge example.com --date 2017-11-13
If the app is paired with Sailthru, you can override which email addresses the
app sends to. The app will send all emails to the address you specify:
::
./manage.py lms --settings devstack_docker send_recurring_nudge example.com --override-recipient-email developer@example.com
./manage.py lms --settings devstack send_recurring_nudge example.com --override-recipient-email developer@example.com
These management commands are meant to be run daily. We schedule them to
run automatically in a Jenkins job. You can use a similar automation
@@ -419,7 +419,7 @@ To begin using Litmus, follow these steps:
::
./manage.py lms --settings devstack_docker send_recurring_nudge example.com --override-recipient-email PUT-LITMUS-ADDRESS-HERE
./manage.py lms --settings devstack send_recurring_nudge example.com --override-recipient-email PUT-LITMUS-ADDRESS-HERE
Using the Litmus Browser Extenstion to test emails saved as local files
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

View File

@@ -7,13 +7,7 @@ from django.core import checks
_DEVSTACK_SETTINGS_MODULES = [
"lms.envs.devstack",
"lms.envs.devstack_docker",
"lms.envs.devstack_optimized",
"lms.envs.devstack_with_worker",
"cms.envs.devstack",
"cms.envs.devstack_docker",
"cms.envs.devstack_optimized",
"cms.envs.devstack_with_worker",
]
@@ -26,7 +20,7 @@ def warn_if_devstack_settings(**kwargs):
return [
checks.Warning(
"Open edX Devstack is deprecated, so the Django settings module you are using "
f"({settings.SETTINGS_MODULE}) will be removed from openedx/edx-platform by October 2024. "
f"({settings.SETTINGS_MODULE}) will be removed from openedx/edx-platform in 2025. "
"Please either migrate off of Devstack, or modify your Devstack fork to work with an externally-"
"managed Django settings file. "
"For details and discussion, see: https://github.com/openedx/public-engineering/issues/247.",