diff --git a/lms/djangoapps/commerce/models.py b/lms/djangoapps/commerce/models.py index 3a78bc0841..287ea91964 100644 --- a/lms/djangoapps/commerce/models.py +++ b/lms/djangoapps/commerce/models.py @@ -10,6 +10,9 @@ from config_models.models import ConfigurationModel class CommerceConfiguration(ConfigurationModel): """ Commerce configuration """ + class Meta(object): + app_label = "commerce" + checkout_on_ecommerce_service = models.BooleanField( default=False, help_text=_('Use the checkout page hosted by the E-Commerce service.') diff --git a/openedx/core/djangoapps/credentials/models.py b/openedx/core/djangoapps/credentials/models.py index 630bfa41f5..1f8f00a385 100644 --- a/openedx/core/djangoapps/credentials/models.py +++ b/openedx/core/djangoapps/credentials/models.py @@ -15,6 +15,9 @@ class CredentialsApiConfig(ConfigurationModel): Manages configuration for connecting to the Credential service and using its API. """ + class Meta(object): + app_label = "credentials" + OAUTH2_CLIENT_NAME = 'credentials' API_NAME = 'credentials' CACHE_KEY = 'credentials.api.data'