Commit e87bb74c by John Eskew

Add app_label to models to prevent Django1.9 warnings.

parent 46533015
...@@ -10,6 +10,9 @@ from config_models.models import ConfigurationModel ...@@ -10,6 +10,9 @@ from config_models.models import ConfigurationModel
class CommerceConfiguration(ConfigurationModel): class CommerceConfiguration(ConfigurationModel):
""" Commerce configuration """ """ Commerce configuration """
class Meta(object):
app_label = "commerce"
checkout_on_ecommerce_service = models.BooleanField( checkout_on_ecommerce_service = models.BooleanField(
default=False, default=False,
help_text=_('Use the checkout page hosted by the E-Commerce service.') help_text=_('Use the checkout page hosted by the E-Commerce service.')
......
...@@ -15,6 +15,9 @@ class CredentialsApiConfig(ConfigurationModel): ...@@ -15,6 +15,9 @@ class CredentialsApiConfig(ConfigurationModel):
Manages configuration for connecting to the Credential service and using its Manages configuration for connecting to the Credential service and using its
API. API.
""" """
class Meta(object):
app_label = "credentials"
OAUTH2_CLIENT_NAME = 'credentials' OAUTH2_CLIENT_NAME = 'credentials'
API_NAME = 'credentials' API_NAME = 'credentials'
CACHE_KEY = 'credentials.api.data' CACHE_KEY = 'credentials.api.data'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment