Source code for shuup.gdpr.apps

import shuup.apps


[docs] class AppConfig(shuup.apps.AppConfig): name = "shuup.gdpr" label = "shuup_gdpr" default_auto_field = "django.db.models.BigAutoField" provides = { "admin_module": ["shuup.gdpr.admin_module.GDPRModule"], "front_urls": ["shuup.gdpr.urls:urlpatterns"], "customer_dashboard_items": ["shuup.gdpr.dashboard_items:GDPRDashboardItem"], "admin_contact_toolbar_action_item": [ "shuup.gdpr.admin_module.toolbar:AnonymizeContactToolbarButton", "shuup.gdpr.admin_module.toolbar:DownloadDataToolbarButton", ], "xtheme_resource_injection": ["shuup.gdpr.resources:add_gdpr_consent_resources"], "front_registration_field_provider": ["shuup.gdpr.providers:GDPRRegistrationFieldProvider"], "front_auth_form_field_provider": ["shuup.gdpr.providers:GDPRAuthFieldProvider"], "checkout_confirm_form_field_provider": ["shuup.gdpr.providers:GDPRCheckoutFieldProvider"], "front_company_registration_form_provider": ["shuup.gdpr.providers:GDPRFormDefProvider"], "xtheme_snippet_blocker": ["shuup.gdpr.snippet_blocker.GDPRSnippetBlocker"], "notify_event": [ "shuup.tasks.notify_events:TaskCreated", ], }
[docs] def ready(self): # connect receivers import shuup.gdpr.receivers # noqa: F401 import shuup.gdpr.signal_handlers # noqa: F401