Maildaten und Host
This commit is contained in:
parent
6fc1958626
commit
7cd7cdec38
Binary file not shown.
|
|
@ -15,7 +15,7 @@ import os
|
|||
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
|
||||
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
||||
|
||||
BASE_URL = "https://digitale-agentur.com/"
|
||||
BASE_URL = "https://dev01.digitale-agentur.com/"
|
||||
#BASE_URL = "http://localhost:8000/"
|
||||
CRONAPIKEY = "gCddsaz6NOnE9QbXZM5LasdEk122D"
|
||||
|
||||
|
|
@ -174,14 +174,23 @@ GRAPPELLI_CLEAN_INPUT_TYPES = False
|
|||
|
||||
# EMAILs
|
||||
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
|
||||
|
||||
# MAIL PROD
|
||||
'''
|
||||
EMAIL_HOST = 'smtp.strato.de'
|
||||
EMAIL_PORT = 587
|
||||
EMAIL_USE_TLS = True
|
||||
EMAIL_HOST_USER = "support@digitale-agentur.com"
|
||||
EMAIL_HOST_PASSWORD = "aPx9m3!7x3m@8o!t"
|
||||
DEFAULT_FROM_EMAIL = "support@digitale-agentur.com"
|
||||
'''
|
||||
|
||||
# MAIL DEV
|
||||
EMAIL_HOST = 'smtp.strato.de'
|
||||
EMAIL_PORT = 587
|
||||
EMAIL_USE_TLS = True
|
||||
EMAIL_HOST_USER = "support@dev01.digitale-agentur.com"
|
||||
EMAIL_HOST_PASSWORD = "support@dev01.digitale-agentur.com"
|
||||
DEFAULT_FROM_EMAIL = "support@dev01.digitale-agentur.com"
|
||||
|
||||
# FOR DATEPICKER
|
||||
BOOTSTRAP4 = {
|
||||
|
|
|
|||
|
|
@ -33,6 +33,8 @@ from django.contrib.auth.models import Group
|
|||
from cloud.models import DataDir
|
||||
from message.models import Message
|
||||
from notificsys.models import UserNotification
|
||||
import socket
|
||||
|
||||
|
||||
def randomString(stringLength=10):
|
||||
"""Generate a random string of fixed length """
|
||||
|
|
|
|||
Loading…
Reference in New Issue