Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- """
- Base settings to build other settings files upon.
- """
- import environ
- ROOT_DIR = environ.Path(__file__) - 3 # (apps/config/settings/base.py - 3 = apps/)
- APPS_DIR = ROOT_DIR.path('apps')
- env = environ.Env()
- ALLOWED_HOSTS = ['*']
- READ_DOT_ENV_FILE = env.bool('DJANGO_READ_DOT_ENV_FILE', default=False)
- if READ_DOT_ENV_FILE:
- # OS environment variables take precedence over variables from .env
- env.read_env(str(ROOT_DIR.path('.env')))
- # GENERAL
- # ------------------------------------------------------------------------------
- # https://docs.djangoproject.com/en/dev/ref/settings/#debug
- DEBUG = env.bool('DJANGO_DEBUG', False)
- # Local time zone. Choices are
- # http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
- # though not all of them may be available with every OS.
- # In Windows, this must be set to your system time zone.
- TIME_ZONE = 'Europe/Moscow'
- # https://docs.djangoproject.com/en/dev/ref/settings/#language-code
- LANGUAGE_CODE = 'ru-ru'
- # LANGUAGE_CODE = 'en-en'
- # https://docs.djangoproject.com/en/dev/ref/settings/#site-id
- SITE_ID = 1
- # https://docs.djangoproject.com/en/dev/ref/settings/#use-i18n
- USE_I18N = True
- # https://docs.djangoproject.com/en/dev/ref/settings/#use-l10n
- USE_L10N = True
- # https://docs.djangoproject.com/en/dev/ref/settings/#use-tz
- USE_TZ = False
- # DATABASES
- # ------------------------------------------------------------------------------
- # https://docs.djangoproject.com/en/dev/ref/settings/#databases
- DATABASES = {
- 'default': {
- 'ENGINE': 'django.db.backends.postgresql_psycopg2',
- 'NAME': 'nmo',
- 'USER' : 'alexander',
- 'PASSWORD' : 'NjndJhfIhdjSljJfF',
- 'HOST' : '127.0.0.1',
- 'PORT' : '5432',
- }
- }
- DATABASES['default']['ATOMIC_REQUESTS'] = True
- # URLS
- # ------------------------------------------------------------------------------
- # https://docs.djangoproject.com/en/dev/ref/settings/#root-urlconf
- ROOT_URLCONF = 'config.urls'
- # https://docs.djangoproject.com/en/dev/ref/settings/#wsgi-application
- WSGI_APPLICATION = 'config.wsgi.application'
- USER_AGENTS_CACHE = 'default'
- # APPS
- # ------------------------------------------------------------------------------
- DJANGO_APPS = [
- 'django.contrib.contenttypes',
- 'django.contrib.auth',
- 'django.contrib.sessions',
- 'django.contrib.sites',
- 'django.contrib.messages',
- 'django.contrib.redirects',
- 'django.contrib.staticfiles',
- 'grappelli.dashboard',
- 'grappelli',
- 'filebrowser',
- 'django.contrib.admin',
- 'django.contrib.flatpages',
- 'django_extensions_shell',
- 'django_user_agents',
- 'django.contrib.sitemaps',
- ]
- THIRD_PARTY_APPS = [
- 'sortedm2m',
- 'crispy_forms',
- 'ckeditor',
- 'ckeditor_uploader',
- 'allauth',
- 'allauth.account',
- 'allauth.socialaccount',
- 'oauth2_provider',
- 'rest_framework',
- 'rest_framework.authtoken',
- 'corsheaders',
- 'django_otp',
- 'django_otp.plugins.otp_static',
- 'django_otp.plugins.otp_totp',
- 'two_factor',
- 'django_redis',
- 'dbmail',
- 'import_export',
- 'private_storage',
- 'widget_tweaks',
- 'django_crontab',
- 'nested_inline',
- 'utm_tracker',
- 'robokassa',
- ]
- LOCAL_APPS = [
- 'users',
- 'events',
- 'stats',
- 'polls',
- 'payments',
- 'cycle_registartion',
- ]
- # https://docs.djangoproject.com/en/dev/ref/settings/#installed-apps
- INSTALLED_APPS = DJANGO_APPS + THIRD_PARTY_APPS + LOCAL_APPS
- # MIGRATIONS
- # ------------------------------------------------------------------------------
- # https://docs.djangoproject.com/en/dev/ref/settings/#migration-modules
- MIGRATION_MODULES = {
- 'sites': 'apps.contrib.sites.migrations'
- }
- # AUTHENTICATION
- # ------------------------------------------------------------------------------
- # https://docs.djangoproject.com/en/dev/ref/settings/#authentication-backends
- AUTHENTICATION_BACKENDS = [
- # 'oauth2_provider.backends.OAuth2Backend',
- 'django.contrib.auth.backends.ModelBackend',
- 'allauth.account.auth_backends.AuthenticationBackend',
- ]
- # https://docs.djangoproject.com/en/dev/ref/settings/#auth-user-model
- AUTH_USER_MODEL = 'users.User'
- # https://docs.djangoproject.com/en/dev/ref/settings/#login-redirect-url
- # LOGIN_REDIRECT_URL = 'users:redirect'
- # https://docs.djangoproject.com/en/dev/ref/settings/#login-url
- # LOGIN_URL = 'account_login'
- # PASSWORDS
- # ------------------------------------------------------------------------------
- # https://docs.djangoproject.com/en/dev/ref/settings/#password-hashers
- PASSWORD_HASHERS = [
- # https://docs.djangoproject.com/en/dev/topics/auth/passwords/#using-argon2-with-django
- 'django.contrib.auth.hashers.Argon2PasswordHasher',
- 'django.contrib.auth.hashers.PBKDF2PasswordHasher',
- 'django.contrib.auth.hashers.PBKDF2SHA1PasswordHasher',
- 'django.contrib.auth.hashers.BCryptSHA256PasswordHasher',
- 'django.contrib.auth.hashers.BCryptPasswordHasher',
- ]
- # https://docs.djangoproject.com/en/dev/ref/settings/#auth-password-validators
- AUTH_PASSWORD_VALIDATORS = [
- {
- 'NAME': 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator',
- },
- {
- 'NAME': 'django.contrib.auth.password_validation.MinimumLengthValidator',
- },
- {
- 'NAME': 'django.contrib.auth.password_validation.CommonPasswordValidator',
- },
- {
- 'NAME': 'django.contrib.auth.password_validation.NumericPasswordValidator',
- },
- ]
- # MIDDLEWARE
- # ------------------------------------------------------------------------------
- # https://docs.djangoproject.com/en/dev/ref/settings/#middleware
- MIDDLEWARE = [
- 'corsheaders.middleware.CorsMiddleware',
- 'raven.contrib.django.raven_compat.middleware.SentryResponseErrorIdMiddleware',
- 'django.middleware.security.SecurityMiddleware',
- 'django.contrib.sessions.middleware.SessionMiddleware',
- 'django.middleware.common.CommonMiddleware',
- 'django.middleware.csrf.CsrfViewMiddleware',
- # Order of AuthenticationMiddleware vs OAuth2TokenMiddleware is important
- 'django.contrib.auth.middleware.AuthenticationMiddleware',
- 'django_otp.middleware.OTPMiddleware',
- 'oauth2_provider.middleware.OAuth2TokenMiddleware',
- 'django.contrib.messages.middleware.MessageMiddleware',
- 'django.middleware.clickjacking.XFrameOptionsMiddleware',
- # 'debug_toolbar.middleware.DebugToolbarMiddleware',
- 'django.contrib.redirects.middleware.RedirectFallbackMiddleware',
- # 'apps.middleware.CustomRedirectFallbackMiddleware',
- 'apps.check_register_middleware.check_register',
- 'django.contrib.flatpages.middleware.FlatpageFallbackMiddleware',
- 'apps.middleware.SetLastVisitMiddleware',
- 'utm_tracker.middleware.UtmSessionMiddleware',
- 'utm_tracker.middleware.LeadSourceMiddleware',
- 'django_user_agents.middleware.UserAgentMiddleware',
- ]
- CORS_ORIGIN_ALLOW_ALL = True
- X_FRAME_OPTIONS = 'SAMEORIGIN'
- # STATIC
- # ------------------------------------------------------------------------------
- # https://docs.djangoproject.com/en/dev/ref/settings/#static-root
- STATIC_ROOT = str(ROOT_DIR('/static/'))
- # # https://docs.djangoproject.com/en/dev/ref/settings/#static-url
- STATIC_URL = '/static/'
- # # https://docs.djangoproject.com/en/dev/ref/contrib/staticfiles/#std:setting-STATICFILES_DIRS
- STATICFILES_DIRS = [
- str(APPS_DIR.path('static')),
- ]
- # # https://docs.djangoproject.com/en/dev/ref/contrib/staticfiles/#staticfiles-finders
- STATICFILES_FINDERS = [
- 'django.contrib.staticfiles.finders.FileSystemFinder',
- 'django.contrib.staticfiles.finders.AppDirectoriesFinder',
- ]
- # # MEDIA
- # # ------------------------------------------------------------------------------
- # # https://docs.djangoproject.com/en/dev/ref/settings/#media-root
- MEDIA_ROOT = str(APPS_DIR('media'))
- # # https://docs.djangoproject.com/en/dev/ref/settings/#media-url
- MEDIA_URL = '/'
- # TEMPLATES
- # ------------------------------------------------------------------------------
- # https://docs.djangoproject.com/en/dev/ref/settings/#templates
- TEMPLATES = [
- {
- # https://docs.djangoproject.com/en/dev/ref/settings/#std:setting-TEMPLATES-BACKEND
- 'BACKEND': 'django.template.backends.django.DjangoTemplates',
- # https://docs.djangoproject.com/en/dev/ref/settings/#template-dirs
- 'DIRS': [
- str(APPS_DIR.path('templates')),
- ],
- 'OPTIONS': {
- # https://docs.djangoproject.com/en/dev/ref/settings/#template-debug
- 'debug': DEBUG,
- # https://docs.djangoproject.com/en/dev/ref/settings/#template-loaders
- # https://docs.djangoproject.com/en/dev/ref/templates/api/#loader-types
- 'loaders': [
- ('django.template.loaders.cached.Loader', [
- 'django.template.loaders.filesystem.Loader',
- 'django.template.loaders.app_directories.Loader',
- ]),
- ],
- # https://docs.djangoproject.com/en/dev/ref/settings/#template-context-processors
- 'context_processors': [
- 'django.template.context_processors.debug',
- 'django.template.context_processors.request',
- 'django.contrib.auth.context_processors.auth',
- 'django.template.context_processors.i18n',
- 'django.template.context_processors.media',
- 'django.template.context_processors.static',
- 'django.template.context_processors.tz',
- 'django.contrib.messages.context_processors.messages',
- # 'django.template.context_processors.request',
- 'apps.context_processors.base'
- ],
- },
- },
- ]
- # http://django-crispy-forms.readthedocs.io/en/latest/install.html#template-packs
- CRISPY_TEMPLATE_PACK = 'bootstrap4'
- # FIXTURES
- # ------------------------------------------------------------------------------
- # https://docs.djangoproject.com/en/dev/ref/settings/#fixture-dirs
- FIXTURE_DIRS = (
- str(APPS_DIR.path('fixtures')),
- )
- # EMAIL
- # ------------------------------------------------------------------------------
- # https://docs.djangoproject.com/en/dev/ref/settings/#email-backend
- # EMAIL_BACKEND = env('DJANGO_EMAIL_BACKEND', default='django.core.mail.backends.smtp.EmailBackend')
- EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
- # EMAIL_HOST = 'smtp.mail.ru'
- # EMAIL_PORT = 587
- # EMAIL_HOST_USER = 'robot@aqmt.ru'
- # EMAIL_HOST_PASSWORD = '&yoou1iOGIO2'
- # EMAIL_USE_TLS = True
- # DEFAULT_FROM_EMAIL = 'robot@aqmt.ru'
- EMAIL_HOST = 'smtp-pulse.com'
- EMAIL_PORT = 587
- EMAIL_HOST_USER = 'averin76@bk.ru'
- EMAIL_HOST_PASSWORD = 'ZHMRpLMHSt'
- EMAIL_USE_TLS = True
- DEFAULT_FROM_EMAIL = 'robot@aqmt.ru'
- DB_MAILER_TRACK_ENABLE = True
- DB_MAILER_ENABLE_LOGGING = True
- DB_MAILER_WSGI_AUTO_RELOAD = True
- DB_MAILER_UWSGI_AUTO_RELOAD = True
- # DB_MAILER_SMS_PROVIDER = 'providers.smssendpulse'
- # DB_MAILER_SMS_PROVIDER = 'providers.sms'
- DB_MAILER_SMS_PROVIDER = 'providers.sendpulse_automation'
- IQSMS_API_LOGIN = "z1563484037157"
- IQSMS_API_PASSWORD = "879584"
- IQSMS_FROM = "aqmt.ru"
- BROKER_URL = 'redis://127.0.0.1:6379/5'
- BROKER_TRANSPORT = 'redis'
- # ADMIN
- # ------------------------------------------------------------------------------
- # Django Admin URL.
- ADMIN_URL = 'admin'
- # https://docs.djangoproject.com/en/dev/ref/settings/#admins
- ADMINS = [
- ("""AQMT admin""", 'admin@aqmt.ru'),
- ]
- # https://docs.djangoproject.com/en/dev/ref/settings/#managers
- MANAGERS = ADMINS
- # django-allauth
- # ------------------------------------------------------------------------------
- ACCOUNT_ALLOW_REGISTRATION = env.bool('DJANGO_ACCOUNT_ALLOW_REGISTRATION', True)
- # https://django-allauth.readthedocs.io/en/latest/configuration.html
- ACCOUNT_AUTHENTICATION_METHOD = 'username'
- # https://django-allauth.readthedocs.io/en/latest/configuration.html
- ACCOUNT_EMAIL_REQUIRED = False
- # https://django-allauth.readthedocs.io/en/latest/configuration.html
- ACCOUNT_EMAIL_VERIFICATION = 'optional'
- # https://django-allauth.readthedocs.io/en/latest/configuration.html
- ACCOUNT_ADAPTER = 'apps.users.adapters.AccountAdapter'
- # https://django-allauth.readthedocs.io/en/latest/configuration.html
- # SOCIALACCOUNT_ADAPTER = 'apps.users.adapters.SocialAccountAdapter'
- ACCOUNT_UNIQUE_EMAIL = False
- ACCOUNT_EMAIL_CONFIRMATION_HMAC = False
- ACCOUNT_CONFIRM_EMAIL_ON_GET = True
- # ACCOUNT_EMAIL_VERIFICATION = 'mandatory'
- ACCOUNT_SMS_CONFIRMATION = True
- ACCOUNT_SIGNUP_PASSWORD_ENTER_TWICE = True
- ACCOUNT_EMAIL_CONFIRMATION_ANONYMOUS_REDIRECT_URL = "/accounts/login/"
- ACCOUNT_EMAIL_CONFIRMATION_AUTHENTICATED_REDIRECT_URL = "/"
- ACCOUNT_USER_DISPLAY = 'apps.users.models.get_display_name'
- # ACCOUNT_USERNAME_VALIDATORS = 'apps.users.models.UsernameValidator'
- # AUTH_USERNAME_VALIDATORS = 'apps.users.models.UsernameValidator'
- ACCOUNT_FORMS = {
- 'signup': 'apps.users.forms.RegistrationForm',
- 'login': 'apps.users.forms.CustomLoginForm',
- 'update': 'apps.users.forms.UserUpdateForm',
- 'reset_password': 'apps.users.forms.CustomResetPasswordForm',
- 'set_password': 'apps.users.forms.CustomResetPasswordKeyForm'
- }
- REST_FRAMEWORK = {
- 'DEFAULT_AUTHENTICATION_CLASSES': (
- 'rest_framework.authentication.BasicAuthentication',
- 'apps.users.mixins.CsrfExemptSessionAuthentication',
- 'oauth2_provider.contrib.rest_framework.OAuth2Authentication',
- ),
- 'DEFAULT_PERMISSION_CLASSES': (
- 'rest_framework.permissions.IsAuthenticated',
- ),
- }
- # ############## OAUTH SETTINGS ###################
- OAUTH2_PROVIDER = {
- 'SCOPES': {
- 'users': 'user details',
- 'read': 'Read scope',
- 'write': 'Write scope',
- 'groups': 'Access to your groups',
- 'introspection': 'introspection'
- },
- 'ACCESS_TOKEN_EXPIRE_SECONDS': 86400,
- }
- # ############## OTP SETTINGS #####################
- LOGIN_URL = 'two_factor:login'
- # this one is optional
- LOGIN_REDIRECT_URL = '/'
- TWO_FACTOR_CALL_GATEWAY = None
- TWO_FACTOR_PATCH_ADMIN = True
- REDIRECT_FIELD_NAME = 'next'
- TWO_FACTOR_SMS_GATEWAY = None
- APPEND_SLASH = True
- # ############## FILEBROWSER SETTINGS ###############
- FILEBROWSER_DIRECTORY = ''
- DIRECTORY = ''
- FILEBROWSER_EXTENSIONS = {
- 'Folder': [''],
- 'Image': ['.jpg', '.jpf', '.jpeg', '.gif', '.png', '.tif', '.tiff'],
- 'Document': ['.pdf', '.doc', '.rtf', '.txt', '.xls', '.csv', '.docx'],
- 'Video': ['.mov', '.wmv', '.mpeg', '.mpg', '.avi', '.rm'],
- 'Audio': ['.mp3', '.mp4', '.wav', '.aiff', '.midi', '.m4p']
- }
- FILEBROWSER_VERSIONS_BASEDIR = '_versions'
- FILEBROWSER_VERSIONS = {
- 'admin_thumbnail': { 'verbose_name': 'Admin Thumbnail', 'width': '', 'height': 100, 'opts': '' },
- 'medium': { 'verbose_name': 'Admin Thumbnail', 'width': 640, 'height': 430, 'opts': 'crop' },
- 'crop': { 'verbose_name': 'Crop', 'width': 500, 'height': 500, 'opts': 'crop', 'grayscale': True },
- 'large': {'verbose_name': 'Large', 'width': 1080, 'height': '', 'opts': ''},
- 'banner': { 'verbose_name': 'Admin Thumbnail', 'width': 640, 'height': 430, 'opts': 'crop' },
- 'lector_image_slider': { 'verbose_name': 'Admin Thumbnail', 'width': 287, 'height': 358, },
- 'large_crop': { 'verbose_name': 'Medium', 'width': 1280, 'height': '720', 'opts': 'crop', 'grayscale': False },
- 'billboard_home' : { 'verbose_name': 'Medium', 'width': 2048, 'height': '690', 'opts': 'crop', 'grayscale': False },
- 'doc_image' : { 'verbose_name': 'Medium', 'width': 230, 'height': '292', 'opts': 'crop', 'grayscale': False },
- 'doc_image_hirizontal' : { 'verbose_name': 'Medium', 'width': 376, 'height': '233', 'opts': 'crop', 'grayscale': False },
- # 'billboard_banner' : { 'verbose_name': 'Medium', 'width': 1440, 'height': '740', 'opts': 'crop', 'grayscale': False },
- }
- FILEBROWSER_ADMIN_VERSIONS = [ 'medium', 'large', 'crop' ]
- FILEBROWSER_ADMIN_THUMBNAIL = 'admin_thumbnail'
- FILEBROWSER_SELECT_FORMATS = {
- 'file': ['Folder','Image','Document','Video','Audio'],
- 'image': ['Image'],
- 'document': ['Document'],
- 'media': ['Video','Audio'],
- }
- FILEBROWSER_OVERWRITE_EXISTING = False
- CKEDITOR_UPLOAD_PATH = "uploads/cke/"
- # ##############GRAPPELLI SETTINGS ###################
- GRAPPELLI_INDEX_DASHBOARD = 'apps.dashboard.CustomIndexDashboard'
- GRAPPELLI_ADMIN_TITLE = 'Качественные медицинские технологии (AQMT)'
- ############# CELERY SETTINGS ########################
- # import djcelery
- # djcelery.setup_loader()
- ############# CKEDITOR SETTINGS ########################
- CKEDITOR_CONFIGS = {
- 'default': {
- 'toolbar': 'full',
- 'width': '100%',
- 'enterMode': 2,
- },
- }
- ############# PRIVAT FILES #####################
- PRIVATE_STORAGE_ROOT = str(APPS_DIR('private-media/'))
- # PRIVATE_STORAGE_AUTH_FUNCTION = 'private_storage.permissions.allow_staff'
- PRIVATE_STORAGE_AUTH_FUNCTION = 'apps.users.perms.allow_staff_and_owner'
- PRIVATE_STORAGE_SERVER = 'nginx'
- PRIVATE_STORAGE_INTERNAL_URL = '/private-x-accel-redirect/'
- ############# ROBOKASSA #####################
- ROBOKASSA_LOGIN = "aqmt"
- # ROBOKASSA_PASSWORD1 = "PyO3xBBaTTf3nBDK86R7"
- # ROBOKASSA_PASSWORD2 = "aehGQ98PlPDh66sZ4fKa" #- пароль №2. Его можно не указывать, если django-robokassa используется только для вывода формы платежа. Если django-robokassa используется для приема платежей, то этот параметр обязательный.
- ############# TEST #####################
- ROBOKASSA_PASSWORD1 = "Txxp34CB7e4cCLmlQIE0"
- ROBOKASSA_PASSWORD2 = "Kl70Q9jF1dpKZrS5gsnr" #- пароль №2. Его можно не указывать, если django-robokassa используется только для вывода формы платежа. Если django-robokassa используется для приема платежей, то этот параметр обязательный.
- ############# TEST #####################
- # ROBOKASSA_USE_POST = "" #- используется ли метод POST при приеме результатов от ROBOKASSA. По умолчанию - True. Считается, что для Result URL, Success URL и Fail URL выбран один и тот же метод.
- ROBOKASSA_STRICT_CHECK = True #- использовать ли строгую проверку (требовать предварительного уведомления на ResultURL). По умолчанию - True.
- ROBOKASSA_TEST_MODE = True # включен ли тестовый режим. По умолчанию False (т.е. включен боевой режим).
- ROBOKASSA_EXTRA_PARAMS = [] #- список (list) названий дополнительных параметров, которые будут передаваться вместе с запросами. "Shp" к ним приписывать не нужно.
- # ROBOKASSA_TEST_FORM_TARGET = "" #- url робокассы для тестового режима. Настройка предназначена для случая, когда в распоряжении не имеется доступного в интернете домена (например разработка на localhost) и вместо сервера робокассы необходимо использовать свой.
- REST_API_ID = '475e5b5d65b0c44da9a3d1410cd0834d'
- REST_API_SECRET = 'ef01c11c930250401572aa1189e98403'
- ############# MEMCACHED #####################
- TOKEN_STORAGE = 'memcached'
- MEMCACHED_HOST = '127.0.0.1:11211'
- ############# SENDPULSE Automation360 #####################
- SMS_LIVE_NOTIFICATION_URL = "https://events.sendpulse.com/events/id/ce3484582d1045d18e8d3124523eb699/7624137"
- SMS_POLL_URL = "https://events.sendpulse.com/events/id/91576f417bdc4746d1a41dfbf8667cac/7624137"
- SMS_PASSWD_URL = "https://events.sendpulse.com/events/id/9c515992d6a84116d28fd5a949e432fe/7624137"
- SMS_CONFIRM_URL = "https://events.sendpulse.com/events/id/5a63d4d5064b405dcd82cd3224902026/7624137"
- SMS_PASSWORD_RESET_URL = "https://events.sendpulse.com/events/id/4f7c3ba21dac498fb24827f21fd167f8/7624137"
- SMS_BILET_URL = "https://events.sendpulse.com/events/id/fcbcdcc2e28d4428d8c1ef105d208764/7624137"
- SMS_BILET_CONGRESS_URL = "https://events.sendpulse.com/events/id/77161bfa2d794f5ed3c223bc9c20356c/7624137"
- USER_REGISTERED_SITE_URL = "https://events.sendpulse.com/events/id/96dd84d566f94843ac99391b0ff8c522/7624137"
- # {
- # "email": "bak@acnaucer.ru",
- # "phone": "+123456789",
- # "user_id": 123,
- # "is_lec_reg": "is_lec_reg value"
- # }
- USER_REGISTERED_ONLINE_URL = "https://events.sendpulse.com/events/id/c8972bc47c6e4cdeb9e358e2a00fb12a/7624137"
- # {
- # "email": "bak@acnaucer.ru",
- # "phone": "+123456789",
- # "user_id": 123,
- # "eventId": 123,
- # "event_name": "event_name value",
- # "event_date": "event_date value"
- # }
- USER_REGISTERED_OFFLINE_URL = "https://events.sendpulse.com/events/id/dd991317ab6946d5a8669726068c4d9f/7624137"
- # {
- # "email": "bak@acnaucer.ru",
- # "phone": "+123456789",
- # "user_id": 123,
- # "event_date": "2021-06-15",
- # "event_name": "event_name value",
- # "eventId": 123
- # }
- USER_REGISTERED_CYCLE_URL = "https://events.sendpulse.com/events/id/96aafb5efc09479acfbc83023dd557d3/7624137"
- # {
- # "email": "bak@acnaucer.ru",
- # "phone": "+123456789",
- # "user_id": 123,
- # "event_date": "2021-06-15",
- # "eventId": "eventId value",
- # "event_name": "event_name value"
- # }
- USER_REGISTERED_CONGRESS_URL = "https://events.sendpulse.com/events/id/4650bc8220cf4826e319120d752a130d/7624137"
- # {
- # "email": "bak@acnaucer.ru",
- # "phone": "+123456789",
- # "user_id": 123,
- # "event_date": "2021-06-15",
- # "event_name": "event_name value",
- # "eventId": 123
- # }
- # USER_REGISTERED_CONGRESS_OFFLINE_URL = "https://events.sendpulse.com/events/id/96aafb5efc09479acfbc83023dd557d3/7624137"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement