Remove microsite djangoapp except migrations and configuration.
This commit is contained in:
@@ -218,72 +218,6 @@ FEATURES['EMBARGO'] = True
|
||||
|
||||
FEATURES['ENABLE_COMBINED_LOGIN_REGISTRATION'] = True
|
||||
|
||||
# set up some testing for microsites
|
||||
FEATURES['USE_MICROSITES'] = True
|
||||
MICROSITE_ROOT_DIR = COMMON_ROOT / 'test' / 'test_sites'
|
||||
MICROSITE_CONFIGURATION = {
|
||||
"test_site": {
|
||||
"domain_prefix": "test-site",
|
||||
"university": "test_site",
|
||||
"platform_name": "Test Site",
|
||||
"logo_image_url": "test_site/images/header-logo.png",
|
||||
"email_from_address": "test_site@edx.org",
|
||||
"payment_support_email": "test_site@edx.org",
|
||||
"ENABLE_MKTG_SITE": False,
|
||||
"SITE_NAME": "test_site.localhost",
|
||||
"course_org_filter": "TestSiteX",
|
||||
"course_about_show_social_links": False,
|
||||
"css_overrides_file": "test_site/css/test_site.css",
|
||||
"show_partners": False,
|
||||
"show_homepage_promo_video": False,
|
||||
"course_index_overlay_text": "This is a Test Site Overlay Text.",
|
||||
"course_index_overlay_logo_file": "test_site/images/header-logo.png",
|
||||
"homepage_overlay_html": "<h1>This is a Test Site Overlay HTML</h1>",
|
||||
"ALWAYS_REDIRECT_HOMEPAGE_TO_DASHBOARD_FOR_AUTHENTICATED_USER": False,
|
||||
"COURSE_CATALOG_VISIBILITY_PERMISSION": "see_in_catalog",
|
||||
"COURSE_ABOUT_VISIBILITY_PERMISSION": "see_about_page",
|
||||
"ENABLE_SHOPPING_CART": True,
|
||||
"ENABLE_PAID_COURSE_REGISTRATION": True,
|
||||
"SESSION_COOKIE_DOMAIN": "test_site.localhost",
|
||||
"urls": {
|
||||
'ABOUT': 'test-site/about',
|
||||
'PRIVACY': 'test-site/privacy',
|
||||
'TOS_AND_HONOR': 'test-site/tos-and-honor',
|
||||
},
|
||||
},
|
||||
"site_with_logistration": {
|
||||
"domain_prefix": "logistration",
|
||||
"university": "logistration",
|
||||
"platform_name": "Test logistration",
|
||||
"logo_image_url": "test_site/images/header-logo.png",
|
||||
"email_from_address": "test_site@edx.org",
|
||||
"payment_support_email": "test_site@edx.org",
|
||||
"ENABLE_MKTG_SITE": False,
|
||||
"ENABLE_COMBINED_LOGIN_REGISTRATION": True,
|
||||
"SITE_NAME": "test_site.localhost",
|
||||
"course_org_filter": "LogistrationX",
|
||||
"course_about_show_social_links": False,
|
||||
"css_overrides_file": "test_site/css/test_site.css",
|
||||
"show_partners": False,
|
||||
"show_homepage_promo_video": False,
|
||||
"course_index_overlay_text": "Logistration.",
|
||||
"course_index_overlay_logo_file": "test_site/images/header-logo.png",
|
||||
"homepage_overlay_html": "<h1>This is a Logistration HTML</h1>",
|
||||
"ALWAYS_REDIRECT_HOMEPAGE_TO_DASHBOARD_FOR_AUTHENTICATED_USER": False,
|
||||
"COURSE_CATALOG_VISIBILITY_PERMISSION": "see_in_catalog",
|
||||
"COURSE_ABOUT_VISIBILITY_PERMISSION": "see_about_page",
|
||||
"ENABLE_SHOPPING_CART": True,
|
||||
"ENABLE_PAID_COURSE_REGISTRATION": True,
|
||||
"SESSION_COOKIE_DOMAIN": "test_logistration.localhost",
|
||||
},
|
||||
"default": {
|
||||
"university": "default_university",
|
||||
"domain_prefix": "www",
|
||||
}
|
||||
}
|
||||
MICROSITE_TEST_HOSTNAME = 'test-site.testserver'
|
||||
MICROSITE_LOGISTRATION_HOSTNAME = 'logistration.testserver'
|
||||
|
||||
TEST_THEME = COMMON_ROOT / "test" / "test-theme"
|
||||
|
||||
# For consistency in user-experience, keep the value of this setting in sync with
|
||||
|
||||
Reference in New Issue
Block a user