From b11e312d2c09f8d20a91014695ddfdaaaeb3529f Mon Sep 17 00:00:00 2001 From: Ahsan Ulhaq Date: Wed, 2 Dec 2015 16:32:36 +0500 Subject: [PATCH] Create placeholder django apps for credentials ECOM-3057 --- cms/envs/common.py | 2 ++ lms/envs/common.py | 3 +++ openedx/core/djangoapps/credentials/__init__.py | 6 ++++++ openedx/core/djangoapps/credentials/api/__init__.py | 3 +++ openedx/core/djangoapps/credentials/api/urls.py | 3 +++ openedx/core/djangoapps/credentials/api/v1/__init__.py | 0 .../core/djangoapps/credentials/api/v1/tests/__init__.py | 0 openedx/core/djangoapps/credentials/api/v1/views.py | 3 +++ openedx/core/djangoapps/credentials/models.py | 3 +++ openedx/core/djangoapps/credentials/tasks.py | 3 +++ openedx/core/djangoapps/credentials/tests/__init__.py | 0 openedx/core/djangoapps/credentials/urls.py | 3 +++ 12 files changed, 29 insertions(+) create mode 100644 openedx/core/djangoapps/credentials/__init__.py create mode 100644 openedx/core/djangoapps/credentials/api/__init__.py create mode 100644 openedx/core/djangoapps/credentials/api/urls.py create mode 100644 openedx/core/djangoapps/credentials/api/v1/__init__.py create mode 100644 openedx/core/djangoapps/credentials/api/v1/tests/__init__.py create mode 100644 openedx/core/djangoapps/credentials/api/v1/views.py create mode 100644 openedx/core/djangoapps/credentials/models.py create mode 100644 openedx/core/djangoapps/credentials/tasks.py create mode 100644 openedx/core/djangoapps/credentials/tests/__init__.py create mode 100644 openedx/core/djangoapps/credentials/urls.py diff --git a/cms/envs/common.py b/cms/envs/common.py index 9648cdf496..281c42baa7 100644 --- a/cms/envs/common.py +++ b/cms/envs/common.py @@ -840,6 +840,8 @@ INSTALLED_APPS = ( # Microsite configuration application 'microsite_configuration', + # Credentials support + 'openedx.core.djangoapps.credentials', ) diff --git a/lms/envs/common.py b/lms/envs/common.py index 31cd0a3f69..ce953101a0 100644 --- a/lms/envs/common.py +++ b/lms/envs/common.py @@ -1930,6 +1930,9 @@ INSTALLED_APPS = ( 'openedx.core.djangoapps.self_paced', 'sorl.thumbnail', + + # Credentials support + 'openedx.core.djangoapps.credentials', ) # Migrations which are not in the standard module "migrations" diff --git a/openedx/core/djangoapps/credentials/__init__.py b/openedx/core/djangoapps/credentials/__init__.py new file mode 100644 index 0000000000..d270c842b3 --- /dev/null +++ b/openedx/core/djangoapps/credentials/__init__.py @@ -0,0 +1,6 @@ +""" +edX Platform support for credentials. + +This package will be used as a wrapper for interacting with the credentials +service to provide support for learners and authors to use features involved. +""" diff --git a/openedx/core/djangoapps/credentials/api/__init__.py b/openedx/core/djangoapps/credentials/api/__init__.py new file mode 100644 index 0000000000..b0bd9acb8f --- /dev/null +++ b/openedx/core/djangoapps/credentials/api/__init__.py @@ -0,0 +1,3 @@ +""" +APIs for the credentials support. +""" diff --git a/openedx/core/djangoapps/credentials/api/urls.py b/openedx/core/djangoapps/credentials/api/urls.py new file mode 100644 index 0000000000..07b6ce31b3 --- /dev/null +++ b/openedx/core/djangoapps/credentials/api/urls.py @@ -0,0 +1,3 @@ +""" +URLs for credential support views. +""" diff --git a/openedx/core/djangoapps/credentials/api/v1/__init__.py b/openedx/core/djangoapps/credentials/api/v1/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/openedx/core/djangoapps/credentials/api/v1/tests/__init__.py b/openedx/core/djangoapps/credentials/api/v1/tests/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/openedx/core/djangoapps/credentials/api/v1/views.py b/openedx/core/djangoapps/credentials/api/v1/views.py new file mode 100644 index 0000000000..2aeb708516 --- /dev/null +++ b/openedx/core/djangoapps/credentials/api/v1/views.py @@ -0,0 +1,3 @@ +""" +Credentials API views (v1). +""" diff --git a/openedx/core/djangoapps/credentials/models.py b/openedx/core/djangoapps/credentials/models.py new file mode 100644 index 0000000000..a4baa925ae --- /dev/null +++ b/openedx/core/djangoapps/credentials/models.py @@ -0,0 +1,3 @@ +""" +Models for credentials support for the LMS and Studio. +""" diff --git a/openedx/core/djangoapps/credentials/tasks.py b/openedx/core/djangoapps/credentials/tasks.py new file mode 100644 index 0000000000..ab97fdd25b --- /dev/null +++ b/openedx/core/djangoapps/credentials/tasks.py @@ -0,0 +1,3 @@ +""" +Celery tasks for credentials support views. +""" diff --git a/openedx/core/djangoapps/credentials/tests/__init__.py b/openedx/core/djangoapps/credentials/tests/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/openedx/core/djangoapps/credentials/urls.py b/openedx/core/djangoapps/credentials/urls.py new file mode 100644 index 0000000000..f3257a0a55 --- /dev/null +++ b/openedx/core/djangoapps/credentials/urls.py @@ -0,0 +1,3 @@ +""" +URLs for the credentials support in LMS and Studio. +"""