U
    =dw+                     @   s  d Z ddlmZmZ ddlmZ ddlmZmZm	Z	 ddl
mZ ddlZee jjZee jjjZee	e dZedd	ed
Zedded
Zedde d
Zedde d
Zedded
Zedded
Zedded
Zdddddddddddd d!d"d#d$d%d&d'd(d)d*gZd+d,d-d.d/d0d1d2d3d4g
Zd5Z d6ed7 gd8d9d:d;d<d=d>d?gd@dAdBdCdDdEdFgdGdHgZ!dIZ"erdJdKej#$edLdMiZ%nVdJedNdKed
edOedL ed
edPdQed
edRdSed
edTdUed
edVdWed
dXiZ%dYdZidYd[idYd\idYd]igZ&d^Z'd_Z(d8Z)d8Z*d8Z+d`Z'daedbfd`edcfddedefgZ,edf fZ-dgZ.edh Z/edi gZ0djZ1edk Z2dlZ3dmZ4dnZ5edodped
Z6edqdred
Z7edsd8ed
Z8edtded
Z9eduded
Z:e9Z;dvZ<dwZ=edxdyed
Z>edzdyed
Z?d{gZ@d|ZAd|ZBdJd}d~eddyed
gidiZCi ZDdJZEdZFedJeddddidgZGddddZHdddZIeIfZJededZKededZLededZMdejNd< dZOej#$eP deOZQdgZRdZSdZTddddgdddddddiddgdd8diddddidZUdS )aA  
    Django settings for core project.

    Generated by 'django-admin startproject' using Django 4.1.3.

    For more information on this file, see
    https://docs.djangoproject.com/en/4.1/topics/settings/

    For the full list of settings and their values, see
    https://docs.djangoproject.com/en/4.1/ref/settings/
    )QueueExchange)Path)CsvConfigRepositoryEnv)gettext_lazyNz/.env
SECRET_KEYzfor test)defaultcastDEBUGFCSRF_TRUSTED_ORIGINS*ALLOWED_HOSTS SITE_ID   PAYPAL_CLIENTIDPAYPAL_SECRETIDzdjango.contrib.adminzdjango.contrib.authzdjango.contrib.contenttypeszdjango.contrib.sessionszdjango.contrib.messageszdjango.contrib.staticfileszdjango.contrib.sitesZdjango_extensionsZrest_frameworkZimport_exportZckeditorZdjango_countriesZ	sslserverZmathfiltersz	apps.rootzapps.accountszapps.profileszapps.subscriptionszapps.processzapps.uploadszapps.newsletterzapps.userActivitiesz-django.middleware.security.SecurityMiddlewarez4django.contrib.sessions.middleware.SessionMiddlewarez)django.middleware.common.CommonMiddlewarez)django.middleware.csrf.CsrfViewMiddlewarez7django.contrib.auth.middleware.AuthenticationMiddlewarez4django.contrib.messages.middleware.MessageMiddlewarez6django.middleware.clickjacking.XFrameOptionsMiddlewarez)django.middleware.locale.LocaleMiddlewarez4apps.accounts.middleware.OneSessionPerUserMiddlewarez5apps.userActivities.middleware.UserActivityMiddlewarez	core.urlsz/django.template.backends.django.DjangoTemplates	templatesTz(django.template.context_processors.debugz*django.template.context_processors.requestz+django.contrib.auth.context_processors.authz3django.contrib.messages.context_processors.messagesz2apps.subscriptions.context.plans_context.get_plansz6apps.subscriptions.context.plans_context.monthly_plansz4apps.subscriptions.context.plans_context.paypal_infoz%apps.process.templatetags.has_youtubez,apps.process.templatetags.has_youtube_uploadz/apps.subscriptions.templatetags.valid_extensionz4apps.subscriptions.templatetags.reached_upload_limitz,apps.subscriptions.templatetags.total_videosz.apps.subscriptions.templatetags.videos_per_dayz+apps.subscriptions.templatetags.rest_videos)context_processorsbuiltins)BACKENDDIRSAPP_DIRSOPTIONSzcore.wsgi.applicationr
   zdjango.db.backends.sqlite3z
db.sqlite3)ENGINENAMEZ
SQL_ENGINEZSQL_DATABASEZSQL_USERuserZSQL_PASSWORDpasswordZSQL_HOST	localhostZSQL_PORTZ5432)r   r   USERPASSWORDHOSTPORTr   zHdjango.contrib.auth.password_validation.UserAttributeSimilarityValidatorz>django.contrib.auth.password_validation.MinimumLengthValidatorz?django.contrib.auth.password_validation.CommonPasswordValidatorz@django.contrib.auth.password_validation.NumericPasswordValidatorzen-usUTCenarArabicEnglishfrFrenchlocalez/static/staticfilesZstaticz/media/Zmediazdjango.db.models.BigAutoFieldzaccounts.Userz+django.core.mail.backends.smtp.EmailBackend
EMAIL_HOSTzsmtp.gmail.com
EMAIL_PORTiK  EMAIL_USE_TLSEMAIL_HOST_USEREMAIL_HOST_PASSWORDi  i  ZCELERY_BROKERzredis://127.0.0.1:6379/0ZCELERY_BACKENDzapplication/jsonjsonz%channels_redis.core.RedisChannelLayerhostsZCHANNELS_REDIS)r   ZCONFIGtaskszx-max-priority
   )routing_keyqueue_arguments   	   )BasicZNormalZProc                 K   s&   d| kr|  d\}}d|iS ddiS )N:queuer
   )split)nameargskwargsoptionstaskkwr=   _ rF   1/var/www/html/UseVoiceDocker/src/core/settings.py
route_task  s    rH   	CLIENT_ID)r   CLIENT_SECRETREDIRECT_URI1ZOAUTHLIB_INSECURE_TRANSPORTzjson_credentials.jsonzapps/uploadsz.https://www.googleapis.com/auth/youtube.uploadZyoutubeZv3INFOfile)levelhandlerszlogging.FileHandlerzlogs/django.logapp)rO   classfilename	formatterdjango)rP   rO   	propagatezC%(asctime)s [%(levelname)-8s] (%(module)s.%(funcName)s) %(message)sz%Y-%m-%d %H:%M:%S)formatdatefmt)versionZdisable_existing_loggersrootrP   loggersZ
formatters)N)V__doc__kombur   r   pathlibr   Zdecoupler   r   r   django.utils.translationr   rE   os__file__resolveparentZBASE_DIRZENV_DIRconfigstrr	   boolr   r   r   intr   r   r   INSTALLED_APPS
MIDDLEWAREROOT_URLCONF	TEMPLATESWSGI_APPLICATIONpathjoin	DATABASESAUTH_PASSWORD_VALIDATORSLANGUAGE_CODE	TIME_ZONEUSE_I18NUSE_L10NUSE_TZ	LANGUAGESLOCALE_PATHS
STATIC_URLSTATIC_ROOTSTATICFILES_DIRS	MEDIA_URL
MEDIA_ROOTDEFAULT_AUTO_FIELDAUTH_USER_MODELEMAIL_BACKENDr.   r/   r0   r1   r2   DEFAULT_FROM_EMAILSESSION_COOKIE_AGEZTOKEN_EXPIRY_SECONDSCELERY_BROKER_URLCELERY_RESULT_BACKENDZCELERY_ACCEPT_CONTENTZCELERY_RESULT_SERIALIZERZCELERY_TASK_SERIALIZERZCHANNEL_LAYERSZCELERY_BEAT_SCHEDULEZCELERY_TASK_DEFAULT_QUEUEZ!CELERY_TASK_CREATE_MISSING_QUEUESZCELERY_TASK_QUEUESZPRIORITY_STACKrH   ZCELERY_TASK_ROUTESrI   rJ   rK   environZCLIENT_SECRETS_FILEgetcwdZ	JSON_PATHZSCOPESZAPI_SERVICE_NAMEZAPI_VERSIONLOGGINGrF   rF   rF   rG   <module>   sb  
  




 



	