fix: Restore emailMarketing to INSTALLED_APPS

emailMarketing was removed from INSTALLED_APPS but the plugin directory
still exists, causing Django to fail with:
'Model class emailMarketing.models.EmailMarketing doesn't declare an explicit
app_label and isn't in an application in INSTALLED_APPS'

This fixes the HTTP 500 error on /plugins/installed
This commit is contained in:
master3395
2026-01-26 03:06:01 +01:00
parent 41b548e8f5
commit 915f7cc5d0

View File

@@ -65,8 +65,6 @@ INSTALLED_APPS = [
# Apps with multiple or complex dependencies
'emailPremium',
'testPlugin',
'premiumPlugin',
'emailMarketing', # Depends on websiteFunctions and loginSystem
'cloudAPI', # Depends on websiteFunctions
'containerization', # Depends on websiteFunctions
@@ -95,12 +93,6 @@ INSTALLED_APPS = [
# Add plugins that are installed (plugin installer handles adding/removing)
# Plugins are added by plugin installer when plugins are installed
if os.path.exists('/usr/local/CyberCP/pm2Manager/__init__.py'):
INSTALLED_APPS.append('pm2Manager')
if os.path.exists('/usr/local/CyberCP/paypalPremiumPlugin'):
INSTALLED_APPS.append('paypalPremiumPlugin')
if os.path.exists('/usr/local/CyberCP/examplePlugin/__init__.py'):
INSTALLED_APPS.append('examplePlugin')
MIDDLEWARE = [
'django.middleware.security.SecurityMiddleware',