Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
e87bb74c
Commit
e87bb74c
authored
Feb 25, 2016
by
John Eskew
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add app_label to models to prevent Django1.9 warnings.
parent
46533015
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
lms/djangoapps/commerce/models.py
+3
-0
openedx/core/djangoapps/credentials/models.py
+3
-0
No files found.
lms/djangoapps/commerce/models.py
View file @
e87bb74c
...
@@ -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.'
)
...
...
openedx/core/djangoapps/credentials/models.py
View file @
e87bb74c
...
@@ -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'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment