Merge pull request #11669 from edx/jeskew/fix_django19_warnings
Add app_label to models to prevent Django1.9 warnings.
This commit is contained in:
@@ -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.')
|
||||
|
||||
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user