diff --git a/app/eventyay/config/settings.py b/app/eventyay/config/settings.py index 3f7f4b5e91..54671a9896 100644 --- a/app/eventyay/config/settings.py +++ b/app/eventyay/config/settings.py @@ -170,6 +170,7 @@ def instance_name(request): 'eventyay.plugins.webcheckin', 'eventyay.schedule', 'eventyay.submission', + 'exhibitors', ) INSTALLED_APPS = _LIBRARY_APPS + _OURS_APPS @@ -182,6 +183,7 @@ def instance_name(request): 'eventyay.control', 'eventyay.plugins.checkinlists', 'eventyay.plugins.reports', + 'exhibitors', ) ) @@ -190,6 +192,10 @@ def instance_name(request): PLUGINS.append(entry_point.module) # INSTALLED_APPS += tuple(entry_point.module) +# Also check for eventyay plugins +for entry_point in entry_points(group='eventyay.plugin'): + PLUGINS.append(entry_point.module) + _LIBRARY_MIDDLEWARES = ( 'corsheaders.middleware.CorsMiddleware', 'django.middleware.locale.LocaleMiddleware', diff --git a/app/pyproject.toml b/app/pyproject.toml index 78b5a7ec03..c18344ce40 100644 --- a/app/pyproject.toml +++ b/app/pyproject.toml @@ -99,6 +99,7 @@ dependencies = [ "et-xmlfile>=2.0.0", "eventyay-paypal @ git+https://github.com/fossasia/eventyay-tickets-paypal.git@4728e6733d971edb4db6df4ebfe12caefd371d55", "eventyay-stripe @ git+https://github.com/fossasia/eventyay-tickets-stripe.git@1d461de9ac7ef743cb2e6ddbace3434ba5ec6fcc", + "exhibitors @ git+https://github.com/fossasia/eventyay-tickets-exhibitors.git@enext", "execnet>=2.1.1", "faker>=37.3.0", "fakeredis>=2.26.2",