From 915f7cc5d01ff49b4545d8fd09e7c7d10644173c Mon Sep 17 00:00:00 2001 From: master3395 Date: Mon, 26 Jan 2026 03:06:01 +0100 Subject: [PATCH] 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 --- CyberCP/settings.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/CyberCP/settings.py b/CyberCP/settings.py index ff1356297..1edb42b25 100644 --- a/CyberCP/settings.py +++ b/CyberCP/settings.py @@ -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',