forked from openedx/openedx-authz
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapps.py
More file actions
41 lines (37 loc) · 1.22 KB
/
apps.py
File metadata and controls
41 lines (37 loc) · 1.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
"""
openedx_authz Django application initialization.
"""
from django.apps import AppConfig
class OpenedxAuthzConfig(AppConfig):
"""
Configuration for the openedx_authz Django application.
"""
name = "openedx_authz"
verbose_name = "Open edX AuthZ"
default_auto_field = "django.db.models.BigAutoField"
plugin_app = {
"url_config": {
"lms.djangoapp": {
"namespace": "openedx-authz",
"regex": r"^api/",
"relative_path": "urls",
},
"cms.djangoapp": {
"namespace": "openedx-authz",
"regex": r"^api/",
"relative_path": "urls",
},
},
"settings_config": {
"lms.djangoapp": {
"test": {"relative_path": "settings.test"},
"common": {"relative_path": "settings.common"},
"production": {"relative_path": "settings.production"},
},
"cms.djangoapp": {
"test": {"relative_path": "settings.test"},
"common": {"relative_path": "settings.common"},
"production": {"relative_path": "settings.production"},
},
},
}