"""
Django settings for BaseCode project.

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

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

For the full list of settings and their values, see
https://docs.djangoproject.com/en/4.0/ref/settings/
"""

import datetime
# TWILIO_ACCOUNT_SID = 'AC04c3abb25fe4996df5068652c7a0c75c'
# TWILIO_AUTH_TOKEN = '014b3ec748043ddd0efe161f80aa04d7'
# TWILIO_NUMBER = '+18508093616'
AUTH_USER_MODEL='authentication.User'

#for debug-toolbar
INTERNAL_IPS = [
    "127.0.0.1",
]
LANGUAGE_CODE = 'en-us'
LANGUAGES = [
    ('en', ('English')),
    ('hi', ('hindi')),
]

# TIME_ZONE = 'UTC'
TIME_ZONE = 'Asia/Kolkata'

USE_I18N = True
USE_TZ = True

DEFAULT_FROM_EMAIL = 'bhargavs.spaceo@gmail.com'
SERVER_EMAIL = 'bhargavs.spaceo@gmail.com'
EMAIL_USE_TLS = True
EMAIL_HOST = 'smtp.gmail.com'
EMAIL_PORT = 587
EMAIL_HOST_USER='bhargavs.spaceo@gmail.com'
EMAIL_HOST_PASSWORD='bhargav@0301'

SIMPLE_JWT = {  
    'ACCESS_TOKEN_LIFETIME': datetime.timedelta(days=30),
    'REFRESH_TOKEN_LIFETIME': datetime.timedelta(days=30),
}

